Skip to content

Commit

Permalink
made navbar sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-Web3 committed May 1, 2023
1 parent a3dc3e4 commit fa1945c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/sass/shared/board.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
box-shadow: 0px 4px 6px rgba(54, 78, 126, 0.101545);
cursor: pointer;

&:last-child {
margin-bottom: 0;
}

p:first-child {
font-weight: 700;
font-size: 1.2rem;
Expand Down
6 changes: 4 additions & 2 deletions src/sass/shared/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
width: max-content;
background-color: $white;
box-shadow: 0 2px 1px $gray-200;
padding-top: $spacer;
}

&__container {
Expand All @@ -33,8 +32,11 @@
margin: 0;
display: flex;
flex-direction: column;
height: 100%;
min-height: 100vh;
padding-block: 0;
padding-top: $spacer;
position: sticky;
top: 0;
}
}
&__header {
Expand Down

0 comments on commit fa1945c

Please sign in to comment.