From 07af99f862d6e0f44ab352dbf86d71c0541452a4 Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Tue, 13 Feb 2018 12:42:25 +0100 Subject: [PATCH] Fix wrong background color in tweet screenshots when using black theme --- Resources/Scripts/code.js | 2 ++ Resources/Scripts/styles/notification.css | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js index ff778330..96efdeb7 100644 --- a/Resources/Scripts/code.js +++ b/Resources/Scripts/code.js @@ -294,6 +294,8 @@ tags.push("<style type='text/css'>"); tags.push("body { background: "+getClassStyleProperty("column", "background-color")+" !important }"); // set background color + tags.push("body::before { content: none !important }"); // remove background gradient + tags.push(".column { background: transparent !important }"); // remove background color from columns tags.push("a[data-full-url] { word-break: break-all !important }"); // break long urls tags.push(".media-item, .media-preview { border-radius: 1px !important }"); // square-ify media tags.push(".quoted-tweet { border-radius: 0 !important }"); // square-ify quoted tweets diff --git a/Resources/Scripts/styles/notification.css b/Resources/Scripts/styles/notification.css index 4585ab02..c4442665 100644 --- a/Resources/Scripts/styles/notification.css +++ b/Resources/Scripts/styles/notification.css @@ -2,18 +2,10 @@ /* General */ /***********/ -body:before { - content: none !important; -} - body { overflow-y: auto !important; } -.column { - background: transparent !important; -} - .scroll-styled-v::-webkit-scrollbar { width: 7px !important; }