Skip to content

Commit

Permalink
Show overflow indicator when open
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Nov 8, 2023
1 parent de0e748 commit f149d07
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions packages/circuit-ui/components/Popover/Popover.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,6 @@
opacity: 0;
}

.wrapper::after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
display: block;
height: var(--cui-spacings-kilo);
content: '';
background: linear-gradient(
rgb(255 255 255 / 0%),
rgb(255 255 255 / 66%),
rgb(255 255 255 / 100%)
);
border-bottom-right-radius: var(--cui-border-radius-byte);
border-bottom-left-radius: var(--cui-border-radius-byte);
}

@media (max-width: 479px) {
.menu {
border-bottom-right-radius: 0;
Expand Down Expand Up @@ -100,3 +83,20 @@
.wrapper.open {
pointer-events: all;
}

.wrapper.open::after {
position: absolute;
right: 0;
bottom: 0;
left: 0;
display: block;
height: var(--cui-spacings-kilo);
content: '';
background: linear-gradient(
rgb(255 255 255 / 0%),
rgb(255 255 255 / 66%),
rgb(255 255 255 / 100%)
);
border-bottom-right-radius: var(--cui-border-radius-byte);
border-bottom-left-radius: var(--cui-border-radius-byte);
}

0 comments on commit f149d07

Please sign in to comment.