Skip to content

Commit

Permalink
[components] Fix popover z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Oct 6, 2020
1 parent 6a11a6d commit 1007f1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/@sanity/components/src/popover/popover.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
@import 'part:@sanity/base/theme/variables-style';

.root {
z-index: 9999;
z-index: var(--zindex-popover);
display: flex;
}

.card {
composes: shadow-12dp from 'part:@sanity/base/theme/shadows-style';

background: var(--component-bg);
color: var(--component-text-color);
border-radius: var(--border-radius-medium);
box-shadow: 0 0 0 1px var(--hairline-color), 0 4px 8px color(var(--gray) alpha(30%));
flex: 1;
overflow: hidden;

Expand Down

0 comments on commit 1007f1e

Please sign in to comment.