Merge pull request from LiFaytheGoblin/2067/project-page/comments-fade-out-safari

Made comments fade out look nice in Safari too
This commit is contained in:
Linda 2018-09-28 13:57:11 -04:00 committed by GitHub
commit ec067778f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
src
_colors.scss
views/preview/comment

View file

@ -28,6 +28,7 @@ $ui-coral-dark: hsla(350, 100, 60, 1); // #FF3355 More Blocks tertiary
$ui-white: hsla(0, 100%, 100%, 1); //#FFF
$ui-white-15percent: hsla(0, 100%, 100%, .15); //#FFF
$ui-light-primary: hsl(215, 100, 95);
$ui-light-primary-transparent: hsla(215, 100, 95, 0);
$ui-border: hsla(0, 0, 85, 1); //#D9D9D9

View file

@ -172,7 +172,7 @@
position: absolute;
bottom: 0;
background: linear-gradient(
transparent,
$ui-light-primary-transparent,
$ui-light-primary
);
width: 100%;
@ -188,7 +188,7 @@
margin-bottom: 24px;
width: 100%;
overflow: hidden;
text-align: center;
text-align: center;
&:before,
&:after {
@ -211,4 +211,3 @@
margin-right: -50%;
}
}