Skip to content

Commit 0083589

Browse files
PalmDevsUshie
authored andcommitted
fix: Improve layout CSS
1 parent 54a0dd7 commit 0083589

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

src/layout/Hero/HeroSection.svelte

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
margin-bottom: 2rem;
2929
}
3030
31-
.hero {
32-
padding-bottom: 9rem;
33-
}
34-
3531
.hero-text {
3632
align-items: center;
3733
}

src/layout/Navbar/NavHost.svelte

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -202,17 +202,10 @@
202202
}
203203
204204
#nav-container {
205+
top: 0;
205206
position: sticky;
206207
z-index: 666;
207208
width: 100%;
208-
209-
&:has(.nav-buttons > li:first-child.selected) {
210-
margin-bottom: 2.65rem;
211-
212-
&:has(.banner) {
213-
margin-bottom: 1.5rem;
214-
}
215-
}
216209
}
217210
218211
nav {

src/routes/+page.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@
152152
}
153153
}
154154
main {
155+
padding-block: 2rem;
155156
display: flex;
156157
flex-direction: column;
157158
gap: 1.5rem;

0 commit comments

Comments
 (0)