Skip to content

Commit

Permalink
Fix Homepage Navbar height
Browse files Browse the repository at this point in the history
Fixes #15
  • Loading branch information
kjroelke committed Dec 26, 2024
1 parent 62e69b6 commit c83320e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
}

@mixin sticky-sidebar($var: --sidebar-top-offset) {
--total-offset: calc(var(#{$var}) + var(--wp-admin--admin-bar--height, 0));
position: sticky;
top: calc(var(#{$var}) + var(--wp-admin--admin-bar--height));
height: calc(100vh - var(#{$var}));
top: var(--total-offset);
height: calc(100vh - var(--total-offset));
bottom: 0;
}

0 comments on commit c83320e

Please sign in to comment.