Skip to content

Commit

Permalink
Sticky header
Browse files Browse the repository at this point in the history
  • Loading branch information
evadecker committed May 27, 2024
1 parent 9a2e99b commit 8fa2a89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import Logo from "./Logo.astro";

<style>
header {
position: sticky;
background-color: var(--pink-7);
top: 0;
display: flex;
justify-content: flex-start;
padding: var(--space-m) var(--space-l);
Expand Down

0 comments on commit 8fa2a89

Please sign in to comment.