Skip to content

Commit

Permalink
feat: fix zindex for box component
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisPannekeet committed Oct 6, 2023
1 parent 9f4ae31 commit 93499fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/box.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@
getSpacing(innerSpacing[2]),
paddingLeft: ({ options: { innerSpacing } }) =>
getSpacing(innerSpacing[3]),
zIndex: ({ options: { position } }) =>
position === 'fixed' && !isDev ? 999 : 'auto',
[`@media ${mediaMinWidth(600)}`]: {
marginTop: ({ options: { outerSpacing } }) =>
getSpacing(outerSpacing[0], 'Portrait'),
Expand Down

0 comments on commit 93499fc

Please sign in to comment.