Enhance layout responsiveness by centering main content and adjusting sidebar behavior; update BottomNav styles for better alignment on larger screens.
This commit is contained in:
+6
-1
@@ -49,7 +49,12 @@ function App() {
|
||||
<TooltipProvider>
|
||||
<Toaster />
|
||||
<Router base="/x8/v2/public">
|
||||
<AppRouter />
|
||||
{/* Desktop: narrow shell centered in the browser with side gutters */}
|
||||
<div className="min-h-dvh bg-[#0d1117]">
|
||||
<div className="mx-auto min-h-dvh w-full max-w-full lg:max-w-[min(1180px,calc(100vw-3rem))]">
|
||||
<AppRouter />
|
||||
</div>
|
||||
</div>
|
||||
</Router>
|
||||
</TooltipProvider>
|
||||
</DeviceProvider>
|
||||
|
||||
Reference in New Issue
Block a user