Skip to content
Snippets Groups Projects
Commit a6425bd7 authored by Pierre-Jean CHANCELLIER's avatar Pierre-Jean CHANCELLIER
Browse files

correct bug menu on small screens

parent c44a2f42
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ $btn-width: 50px; ...@@ -28,7 +28,7 @@ $btn-width: 50px;
.header { .header {
--menu-width: 0px; --menu-width: 0px;
width: calc(99vw - var(--menu-width)); width: 100%;
z-index: 100; z-index: 100;
background: var(--background-color-primary); background: var(--background-color-primary);
transition: width .5s ease-in-out; transition: width .5s ease-in-out;
...@@ -36,6 +36,10 @@ $btn-width: 50px; ...@@ -36,6 +36,10 @@ $btn-width: 50px;
.open & { .open & {
--menu-width: 320px; --menu-width: 320px;
} }
@media (min-width:1200px) {
width: calc(99vw - var(--menu-width));
}
} }
nav.breadcrumb { nav.breadcrumb {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment