mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
make overscroll gradients smaller so they pop less when appearing
This commit is contained in:
parent
b19afe4d46
commit
19ebf3beec
1 changed files with 3 additions and 3 deletions
|
@ -77,15 +77,15 @@ $tagPanelWidth: 56px; // only applies in this file, used for calculations
|
|||
align-items: center;
|
||||
|
||||
&.mx_IndicatorScrollbar_leftOverflow {
|
||||
mask-image: linear-gradient(90deg, transparent, black 10%);
|
||||
mask-image: linear-gradient(90deg, transparent, black 5%);
|
||||
}
|
||||
|
||||
&.mx_IndicatorScrollbar_rightOverflow {
|
||||
mask-image: linear-gradient(90deg, black, black 90%, transparent);
|
||||
mask-image: linear-gradient(90deg, black, black 95%, transparent);
|
||||
}
|
||||
|
||||
&.mx_IndicatorScrollbar_rightOverflow.mx_IndicatorScrollbar_leftOverflow {
|
||||
mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
|
||||
mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue