This commit is contained in:
2026-04-08 22:23:23 +09:00
parent 8b92ba2b2e
commit 166bdaab50
4 changed files with 9 additions and 5 deletions
+1 -2
View File
@@ -8,8 +8,7 @@ type Props = {
export default (({ children, className }: Props) => (
<main className={cn ('flex-1 overflow-y-auto p-4',
'md:h-[calc(100dvh-88px)] md:overflow-y-auto',
<main className={cn ('flex-1 overflow-y-auto p-4 md:h-[calc(100dvh-88px)]',
className)}>
{children}
</main>)) satisfies FC<Props>
@@ -6,7 +6,8 @@ import type { FC } from 'react'
export default (() => (
<div className="md:flex md:flex-1 md:h-[calc(100dvh-88px)]">
<div className="md:flex md:flex-1 overflow-y-auto md:overflow-y-hidden
md:h-[calc(100dvh-88px)]">
<MaterialSidebar/>
<Outlet/>
</div>)) satisfies FC
+2 -1
View File
@@ -93,7 +93,8 @@ export default (({ user }: Props) => {
: 'bg-gray-500 hover:bg-gray-600')
return (
<div className="md:flex md:flex-1 md:h-[calc(100dvh-88px)]">
<div className="md:flex md:flex-1 overflow-y-auto md:overflow-y-hidden
md:h-[calc(100dvh-88px)]">
<Helmet>
{(post?.thumbnail || post?.thumbnailBase) && (
<meta name="thumbnail" content={post.thumbnail || post.thumbnailBase}/>)}
+4 -1
View File
@@ -69,7 +69,10 @@ export default (() => {
}, [location.search])
return (
<div className="md:flex md:flex-1 md:h-[calc(100dvh-88px)]" ref={containerRef}>
<div
className="md:flex md:flex-1 overflow-y-auto md:overflow-y-hidden
md:h-[calc(100dvh-88px)]"
ref={containerRef}>
<Helmet>
<title>
{tags.length