-
Notifications
You must be signed in to change notification settings - Fork 771
fix(nav): maintain consistent width on mobile and tablet, enable vert… #2603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 2 commits
275549c
f45a6ce
8de1549
3ebb33a
9f286f4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -227,12 +227,24 @@ a.nav-text:hover { | |
|
|
||
| .stellarnav.mobile { | ||
|
|
||
| & .nav-list{ | ||
| position: absolute; | ||
| left:0; | ||
| translate: 0 -5px; | ||
| & ul.nav-list{ | ||
| position: fixed; | ||
| left: 50%; | ||
| transform: translateX(-50%); | ||
| top: 4rem; | ||
| background: transparent; | ||
| background-color: var(--color-primary-light); | ||
| width: 95vw !important; | ||
| max-width: calc(100vw - 1rem) !important; | ||
|
||
| max-height: 70vh; | ||
| overflow-y: auto; | ||
| overflow-x: hidden; | ||
| padding: 0 0.5rem 0.5rem 0.5rem; | ||
| box-shadow: 0 6px 10px -2px rgba(0,211,169,0.75); | ||
| -webkit-box-shadow: 0 6px 10px -2px rgba(0,211,169,0.75); | ||
| -moz-box-shadow: 0 6px 10px -2px rgba(0,211,169,0.75); | ||
| z-index: 100; | ||
|
|
||
| } | ||
|
|
||
| & li a { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.