Skip to content

Commit

Permalink
fix: 🐛 fix nav mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
guiseek committed May 20, 2021
1 parent 816434a commit 50bfadc
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions packages/website/src/app/header/header.element.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import 'mixins/media-query';
@import 'theming/variables';

devpr-header {
Expand Down Expand Up @@ -25,15 +26,24 @@ devpr-header > svg {
ul {
margin: 0;
padding: 0;
width: 100%;
z-index: -1;
list-style: none;
overflow: hidden;
position: absolute;
margin-top: -40px;
background-color: $devpr-surface;
}

devpr-header {
@include mobile {
ul {
margin-top: -40px;
}
}
@include tablet {
ul {
margin-top: -40px;
}
}
}

li a {
display: block;
padding: 20px 20px;
Expand Down

0 comments on commit 50bfadc

Please sign in to comment.