Skip to content

Commit

Permalink
fix: code container hiding navigation menu (#4707)
Browse files Browse the repository at this point in the history
* fix: code container hiding navigation menu

code container and navigation menu z-index values was
same. Navigation menu was hidden behind code container
for smaller screen. Code container has pushed down with
the fix.

* fix: fixed review comments

Instead of hardcoded values, calculated z-index from the variable
  • Loading branch information
tapanprakasht committed Mar 28, 2022
1 parent 9284889 commit 96bc69a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/website/src/components/Playground.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@
width: 100%;
height: calc(100% - var(--ifm-navbar-height));
top: var(--ifm-navbar-height);
z-index: var(--ifm-z-index-fixed);
z-index: calc(var(--ifm-z-index-fixed) - 1);
}

0 comments on commit 96bc69a

Please sign in to comment.