Fix layout style

This commit is contained in:
Arnaud 2024-08-23 15:39:50 +02:00
parent ecc7dd91cc
commit f981e09492
No known key found for this signature in database
GPG Key ID: 69D6CE281FCAE663
2 changed files with 4 additions and 6 deletions

View File

@ -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] {

View File

@ -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: {},