Skip to content

Commit f1a6dcc

Browse files
authored
Merge pull request #502 from zirreal/master
small layout change
2 parents 3273eba + 39ce080 commit f1a6dcc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/components/header/HeaderNav.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ import Socials from '../blocks/Socials.astro'
6464
position: fixed;
6565
right: 0;
6666
text-align: left;
67-
top: var(--screen-padding-top);
67+
top: calc(var(--screen-padding-top) + 50px);
6868
transform: translateX(-20px);
6969
z-index: 1012;
7070
}
@@ -173,6 +173,7 @@ import Socials from '../blocks/Socials.astro'
173173

174174
.nav-content {
175175
height: 100%;
176+
top: calc(var(--screen-padding-top) + 90px);
176177
}
177178
}
178179

src/layouts/Layout.astro

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ const isHome = Astro.url.pathname === '/';
179179
.screen {
180180
position: relative;
181181
background-color: var(--color-light);
182-
padding-top: var(--screen-padding-top);
182+
/* padding-top: var(--screen-padding-top); */
183+
padding-top: calc(var(--screen-padding-top) + 50px);
183184
padding-bottom: var(--screen-padding-bottom);
184185
height: 100vh;
185186
scrollbar-width: none;

0 commit comments

Comments
 (0)