Skip to content

Commit

Permalink
Added scroll margin to prevent header from blocking
Browse files Browse the repository at this point in the history
  • Loading branch information
SamElfring committed Oct 6, 2023
1 parent ad18406 commit 141a654
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ body {
@apply bg-slate-900 text-white;
}

section {
@apply scroll-mt-16;
}

@layer components {
.section-title {
@apply w-max font-bold border-b-2 border-slate-400 mb-4 text-lg;
Expand Down

0 comments on commit 141a654

Please sign in to comment.