fix: sticky-header-border-effect #4

Merged
webfussel merged 1 commit from sticky-header-fix into main 2025-05-12 09:17:01 +02:00
3 changed files with 21 additions and 2 deletions

View file

@ -2,6 +2,7 @@
--padding-default: 1rem;
--padding-small: 0.5rem;
--radius-default: 3px;
--radius-border: 15px;
--transition-default: 150ms;
--color-success: #328104;

View file

@ -63,4 +63,24 @@
}
}
}
&:after, &:before {
content: '';
display: block;
position: absolute;
bottom: calc(-1 * var(--radius-border));
background: var(--color-blue-darkest);
width: var(--radius-border);
height: var(--radius-border);
}
&:after {
right: 0;
mask: radial-gradient(var(--radius-border) at 0 100%,#0000 98%,#000);
}
&:before {
left: 0;
mask: radial-gradient(var(--radius-border) at 100% 100%,#0000 98%,#000);
}
}

View file

@ -46,8 +46,6 @@
}
.content {
border-top-left-radius: 15px;
border-top-right-radius: 15px;
overflow: hidden;
background: var(--color-lightest);
height: 100%;