Fix layout style
This commit is contained in:
parent
ecc7dd91cc
commit
f981e09492
|
@ -2,12 +2,10 @@
|
||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1000px) {
|
|
||||||
.menu-noSticky {
|
.menu-noSticky {
|
||||||
transform: translatex(-500px) !important;
|
transform: translatex(-1000px) !important;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.menu-noSticky[aria-expanded] {
|
.menu-noSticky[aria-expanded] {
|
||||||
transform: translatex(0) !important;
|
transform: translatex(0) !important;
|
||||||
|
|
|
@ -20,7 +20,7 @@ const meta = {
|
||||||
title: "Overlays/Menu",
|
title: "Overlays/Menu",
|
||||||
component: Menu,
|
component: Menu,
|
||||||
parameters: {
|
parameters: {
|
||||||
layout: "centered",
|
layout: "fullscreen",
|
||||||
},
|
},
|
||||||
tags: ["autodocs"],
|
tags: ["autodocs"],
|
||||||
argTypes: {},
|
argTypes: {},
|
||||||
|
|
Loading…
Reference in New Issue