diff options
author | Joas Schilling <coding@schilljs.com> | 2019-01-24 20:35:14 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2019-01-24 20:35:14 +0100 |
commit | 8e48140c86810eed889ee361c16c30f6467e756f (patch) | |
tree | 88c58cf533b90cb5d020984c5e4f75612251365b /apps/comments | |
parent | b4bc36128d14771f40a617ea2982c2624ccd1b04 (diff) | |
download | nextcloud-server-8e48140c86810eed889ee361c16c30f6467e756f.tar.gz nextcloud-server-8e48140c86810eed889ee361c16c30f6467e756f.zip |
Fix linear-gradient for long comments on dark-theme
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/comments')
-rw-r--r-- | apps/comments/css/comments.scss | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/comments/css/comments.scss b/apps/comments/css/comments.scss index e631d6891ff..665051cf065 100644 --- a/apps/comments/css/comments.scss +++ b/apps/comments/css/comments.scss @@ -65,7 +65,7 @@ #commentsTabView .comment { position: relative; /** padding bottom is little more so that the top and bottom gap look uniform **/ - padding: 10px 0px 15px; + padding: 10px 0 15px; } #commentsTabView .comments .comment { @@ -112,11 +112,11 @@ left: 0; right: 0; bottom: 0; - background: -moz-linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1)); - background: -webkit-linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1)); - background: -o-linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1)); - background: -ms-linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1)); - background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1)); + background: -moz-linear-gradient(rgba(var(--color-main-background), 0), var(--color-main-background)); + background: -webkit-linear-gradient(rgba(var(--color-main-background), 0), var(--color-main-background)); + background: -o-linear-gradient(rgba(var(--color-main-background), 0), var(--color-main-background)); + background: -ms-linear-gradient(rgba(var(--color-main-background), 0), var(--color-main-background)); + background: linear-gradient(rgba(var(--color-main-background), 0), var(--color-main-background)); background-repeat: no-repeat; } |