Skip to content

Commit 4d0ec13

Browse files
committed
Don't separate properties
1 parent 7f39afe commit 4d0ec13

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

web/src/App.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ import { isDesktop, isMobile } from "react-device-detect";
1616
import Statusbar from "./components/Statusbar";
1717
import Bottombar from "./components/navigation/Bottombar";
1818

19-
const mobileInsets = "absolute left-0 top-2 right-0 bottom-0 bottom-16"
20-
const desktopInsets = "absolute left-16 top-16 top-2 right-0 bottom-8"
21-
2219
function App() {
2320
return (
2421
<Providers>
@@ -30,7 +27,7 @@ function App() {
3027
{isMobile && <Bottombar />}
3128
<div
3229
id="pageRoot"
33-
className={`${isDesktop ? desktopInsets : mobileInsets} overflow-hidden`}
30+
className="absolute left-0 md:left-16 top-2 right-0 bottom-16 md:bottom-8 overflow-hidden"
3431
>
3532
<Routes>
3633
<Route path="/" element={<Live />} />

0 commit comments

Comments
 (0)