fix: batch mobile layout fixes (#1641)

This commit is contained in:
Yuhao
2023-11-28 20:05:19 +08:00
committed by GitHub
parent cf0ba794d7
commit 3c37fd37fa
11 changed files with 42 additions and 49 deletions

View File

@@ -682,7 +682,7 @@ const Main: FC<IMainProps> = ({
}
return (
<div className='bg-gray-100 h-full'>
<div className='bg-gray-100 h-full flex flex-col'>
{!isInstalledApp && (
<Header
title={siteInfo.title}
@@ -719,8 +719,7 @@ const Main: FC<IMainProps> = ({
)}
{/* main */}
<div className={cn(
isInstalledApp ? 'h-full' : 'h-[calc(100vh_-_3rem)] tablet:h-screen',
'flex-grow flex flex-col overflow-y-auto',
'h-full flex-grow flex flex-col overflow-y-auto',
)
}>
<ConfigSence