mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Merge pull request #2373 from matrix-org/nadonomy/gradient-fix
Avoid 'transparent black' gradients in left panel
This commit is contained in:
commit
e9ebc05eee
1 changed files with 2 additions and 2 deletions
|
@ -170,12 +170,12 @@ limitations under the License.
|
||||||
|
|
||||||
&.mx_IndicatorScrollbar_topOverflow::before {
|
&.mx_IndicatorScrollbar_topOverflow::before {
|
||||||
top: 0;
|
top: 0;
|
||||||
background: linear-gradient($secondary-accent-color, transparent);
|
background: linear-gradient(to top, rgba(242,245,248,0), rgba(242,245,248,1));
|
||||||
}
|
}
|
||||||
|
|
||||||
&.mx_IndicatorScrollbar_bottomOverflow::after {
|
&.mx_IndicatorScrollbar_bottomOverflow::after {
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
background: linear-gradient(transparent, $secondary-accent-color);
|
background: linear-gradient(to bottom, rgba(242,245,248,0), rgba(242,245,248,1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue