Skip to content

Commit 49ae21f

Browse files
author
José Guilherme
committed
⬆️ Update App
1 parent 0711d50 commit 49ae21f

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

src/App.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
--soft-pink: #f2ced8;
1717
}
1818

19+
html,
20+
body {
21+
max-width: 100%;
22+
overflow-x: hidden;
23+
}
24+
1925
.App {
2026
position: relative;
2127
}
@@ -26,6 +32,10 @@
2632
width: 100%;
2733
}
2834

35+
.topbar-offset {
36+
height: 50px;
37+
}
38+
2939
body {
3040
height: 100% !important;
3141
font-family: "Ubuntu", sans-serif;

src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ function App() {
2828
<BrowserRouter>
2929
<Navbar />
3030
<WhatsappButton />
31+
<div className="lg:hidden topbar-offset"></div>
3132
<div className="app-content">
32-
<div className="sidebar-offset"></div>
33+
<div className="hidden lg:block sidebar-offset"></div>
3334
<AnimatedRoutes />
3435
</div>
3536
</BrowserRouter>

0 commit comments

Comments
 (0)