Merge pull request #2373 from matrix-org/nadonomy/gradient-fix

Avoid 'transparent black' gradients in left panel
This commit is contained in:
Bruno Windels 2018-12-18 19:03:35 +00:00 committed by GitHub
commit e9ebc05eee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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));
} }
} }