From f981e094926cbf5734fba12ec7dbfcfb09073c95 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 23 Aug 2024 15:39:50 +0200 Subject: [PATCH] Fix layout style --- stories/Menu.stories.css | 8 +++----- stories/Menu.stories.tsx | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/stories/Menu.stories.css b/stories/Menu.stories.css index cb728e8..19ac489 100644 --- a/stories/Menu.stories.css +++ b/stories/Menu.stories.css @@ -2,11 +2,9 @@ min-height: 500px; } -@media (min-width: 1000px) { - .menu-noSticky { - transform: translatex(-500px) !important; - position: fixed; - } +.menu-noSticky { + transform: translatex(-1000px) !important; + position: fixed; } .menu-noSticky[aria-expanded] { diff --git a/stories/Menu.stories.tsx b/stories/Menu.stories.tsx index d5d5810..78c822a 100644 --- a/stories/Menu.stories.tsx +++ b/stories/Menu.stories.tsx @@ -20,7 +20,7 @@ const meta = { title: "Overlays/Menu", component: Menu, parameters: { - layout: "centered", + layout: "fullscreen", }, tags: ["autodocs"], argTypes: {},