Unverified Commit a3fec114 authored by crazywoola's avatar crazywoola Committed by GitHub

fix: styles (#1005)

parent b1fd1b3a
......@@ -6,9 +6,11 @@ const Layout: FC<{
children: React.ReactNode
}> = ({ children }) => {
return (
<div className="min-w-[300px]">
<GA gaType={GaType.webapp} />
{children}
<div className=''>
<div className="min-w-[300px]">
<GA gaType={GaType.webapp} />
{children}
</div>
</div>
)
}
......
......@@ -574,7 +574,7 @@ const Main: FC<IMainProps> = ({
return <Loading type='app' />
return (
<div className='bg-gray-100 flex w-full h-full'>
<div className='bg-gray-100'>
{!isInstalledApp && (
<Header
title={siteInfo.title}
......@@ -611,7 +611,7 @@ const Main: FC<IMainProps> = ({
)}
{/* main */}
<div className={cn(
isInstalledApp ? s.installedApp : '',
isInstalledApp ? s.installedApp : 'h-screen',
'flex-grow flex flex-col overflow-y-auto',
)
}>
......
......@@ -510,7 +510,7 @@ const Main: FC<IMainProps> = ({
<div className={'flex bg-white overflow-hidden'}>
<div className={cn(
isInstalledApp ? s.installedApp : '',
isInstalledApp ? s.installedApp : 'h-[calc(100vh_-_3rem)]',
'flex-grow flex flex-col overflow-y-auto',
)
}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment