Skip to content

Commit

Permalink
Corrected styling for nav overlay (#2146)
Browse files Browse the repository at this point in the history
* Corrected styling for nav overlay

* updated storybook
  • Loading branch information
vgalatro authored May 28, 2024
1 parent 8a5279e commit 9a4826d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .storybook/themes/news.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2010,10 +2010,11 @@
),
"header-nav-chain-flyout-overlay-open": (
"background": var(--header-nav-chain-overlay-background-color),
"block-size": calc(100vh - var(--header-nav-chain-height)),
"inline-size": 100%,
"overflow-y": scroll,
"overflow-block": scroll,
"transform": translate(0, 0),
"inline-size": calc(100vh - var(--header-nav-chain-height))
"transform": translate(0, 0)
),
"header-nav-chain-flyout-overlay-scrollbar": (
"display": none
Expand Down
3 changes: 2 additions & 1 deletion blocks/header-nav-chain-block/themes/news.json
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,11 @@
"styles": {
"default": {
"background": "var(--header-nav-chain-overlay-background-color)",
"block-size": "calc(100vh - var(--header-nav-chain-height))",
"overflow-y": "scroll",
"overflow-block": "scroll",
"transform": "translate(0, 0)",
"inline-size": "calc(100vh - var(--header-nav-chain-height))"
"inline-size": "100%"
},
"desktop": {}
}
Expand Down

0 comments on commit 9a4826d

Please sign in to comment.