Skip to content

Commit

Permalink
fixed z-index to separators
Browse files Browse the repository at this point in the history
  • Loading branch information
prconcepcion committed Feb 27, 2024
1 parent f15ef35 commit 6475c58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/block-components/separator/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.stk-block {
&:is(.stk-has-top-separator, .stk-has-bottom-separator) {
> *:not(.stk-video-background) { // Don't change the order of any video backgrounds, they stay at the back.
> *:not(.stk-video-background, .stk-separator) { // Don't change the order of any video backgrounds, they stay at the back.
z-index: 2;
}

Expand Down Expand Up @@ -50,7 +50,7 @@
pointer-events: none;
inset: -1px 0; // -1px on the sides might make horizontal scrollbars appear.
overflow: hidden;

z-index: 1;
svg {
filter: drop-shadow(0px 2px 20px rgba(153, 153, 153, 0.2));
left: 0;
Expand Down

0 comments on commit 6475c58

Please sign in to comment.