improve mobile view

This commit is contained in:
josc146
2023-11-09 12:21:01 +08:00
parent 07797537d1
commit f03c9cf25f
4 changed files with 61 additions and 58 deletions

View File

@@ -89,7 +89,7 @@ const Home: FC = observer(() => {
return commonStore.platform === 'web' ?
(
<div className="flex flex-col gap-2 h-full">
<div className="flex flex-col gap-2 h-full overflow-x-hidden overflow-y-auto">
<img className="rounded-xl select-none object-cover grow"
style={{ maxHeight: '40%' }} src={banner} />
<div className="grow"></div>