Fix layout style
This commit is contained in:
parent
ecc7dd91cc
commit
f981e09492
|
@ -2,11 +2,9 @@
|
||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1000px) {
|
.menu-noSticky {
|
||||||
.menu-noSticky {
|
transform: translatex(-1000px) !important;
|
||||||
transform: translatex(-500px) !important;
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu-noSticky[aria-expanded] {
|
.menu-noSticky[aria-expanded] {
|
||||||
|
|
|
@ -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