settings-sticky-tabs #1

Merged
michael merged 2 commits from settings-sticky-tabs into dev 2023-03-31 22:16:53 +00:00
2 changed files with 23 additions and 5 deletions

View file

@ -16,9 +16,18 @@
padding: var(--sp-loose) var(--sp-extra-loose);
}
& .tabs__content {
& .tabs {
position: sticky;
top: 0;
z-index: 999;
background-color: var(--bg-surface-low);
box-shadow: 0 -4px 0 var(--bg-surface-low),
inset 0 -1px 0 var(--bg-surface-border);
&__content {
padding: 0 var(--sp-normal);
}
}
&__cards-wrapper {
padding: 0 var(--sp-normal);

View file

@ -9,9 +9,18 @@
padding: var(--sp-loose) var(--sp-extra-loose);
}
& .tabs__content {
& .tabs {
position: sticky;
top: 0;
z-index: 999;
background-color: var(--bg-surface-low);
box-shadow: 0 -4px 0 var(--bg-surface-low),
inset 0 -1px 0 var(--bg-surface-border);
&__content {
padding: 0 var(--sp-normal);
}
}
&__cards-wrapper {
padding: 0 var(--sp-normal);