File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export default function RootLayout() {
1313 < ThemeProvider defaultTheme = "system" storageKey = "vite-ui-theme" >
1414 < BreadcrumbProvider >
1515 < ToastProvider />
16- < div className = "flex flex-col h-full " >
16+ < div className = "flex flex-col h-svh mb-2 " >
1717 < Header />
1818 < div className = "container mx-auto px-4" >
1919 < Breadcrumbs />
Original file line number Diff line number Diff line change @@ -61,15 +61,15 @@ export default function Page() {
6161
6262 if ( ! artwork || ! config ) {
6363 return (
64- < div className = "flex items-center justify-center h-screen " >
64+ < div className = "flex items-center justify-center h-svh " >
6565 < Spinner />
6666 </ div >
6767 ) ;
6868 }
6969 return (
7070 < div className = "h-full flex items-start overflow-auto md:overflow-hidden pb-5" >
71- < div className = "w-full h-full flex-1 mx-auto px-4 py-4 flex flex-col gap-6 md:flex-row md:overflow-hidden" >
72- < div className = "w-full h-full md:w-1/2 flex flex-col md:overflow-hidden" >
71+ < div className = "w-full flex-1 mx-auto px-4 py-4 flex flex-col gap-6 md:flex-row md:overflow-hidden md:h-full " >
72+ < div className = "w-full md:w-1/2 flex flex-col md:overflow-hidden" >
7373 < div className = "overflow-hidden rounded-lg" >
7474 < img
7575 className = "rounded-lg w-full h-auto md:max-h-[75vh] object-cover shadow-lg"
@@ -113,7 +113,7 @@ export default function Page() {
113113 </ TooltipProvider >
114114 </ div >
115115 </ div >
116- < div className = "w-full md:w-1/2 space-y-4 md:overflow-y-auto text-start" >
116+ < div className = "md:h-full w-full md:w-1/2 space-y-4 md:overflow-y-auto text-start" >
117117 < h1 className = "text-3xl font-bold" > { artwork . title } </ h1 >
118118 { /* Add more artwork details here */ }
119119
You can’t perform that action at this time.
0 commit comments