mirror of
https://github.com/penpot/penpot.git
synced 2025-02-20 13:55:34 -05:00
🐛 Fix scrollbar appears on top of UI buttons
This commit is contained in:
parent
fa00fed694
commit
137e576e63
1 changed files with 14 additions and 0 deletions
|
@ -46,6 +46,7 @@
|
||||||
@extend .button-icon;
|
@extend .button-icon;
|
||||||
stroke: var(--tab-foreground-color);
|
stroke: var(--tab-foreground-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
@include headlineSmallTypography;
|
@include headlineSmallTypography;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -53,17 +54,21 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.current,
|
&.current,
|
||||||
&.current:hover {
|
&.current:hover {
|
||||||
background: var(--tab-background-color-selected);
|
background: var(--tab-background-color-selected);
|
||||||
border-color: var(--tab-border-color-selected);
|
border-color: var(--tab-border-color-selected);
|
||||||
color: var(--tab-foreground-color-selected);
|
color: var(--tab-foreground-color-selected);
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
stroke: var(--tab-foreground-color-selected);
|
stroke: var(--tab-foreground-color-selected);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: var(--tab-foreground-color-hover);
|
color: var(--tab-foreground-color-hover);
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
stroke: var(--tab-foreground-color-hover);
|
stroke: var(--tab-foreground-color-hover);
|
||||||
}
|
}
|
||||||
|
@ -78,6 +83,7 @@
|
||||||
min-width: $s-24;
|
min-width: $s-24;
|
||||||
padding: 0 $s-6;
|
padding: 0 $s-6;
|
||||||
border-radius: $br-5;
|
border-radius: $br-5;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
@include flexCenter;
|
@include flexCenter;
|
||||||
height: $s-16;
|
height: $s-16;
|
||||||
|
@ -87,6 +93,7 @@
|
||||||
fill: none;
|
fill: none;
|
||||||
color: transparent;
|
color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
svg {
|
svg {
|
||||||
stroke: var(--icon-foreground-hover);
|
stroke: var(--icon-foreground-hover);
|
||||||
|
@ -107,3 +114,10 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Firefox doesn't respect scrollbar-gutter
|
||||||
|
@supports (-moz-appearance: none) {
|
||||||
|
.tab-container-content {
|
||||||
|
padding-right: $s-8;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue