1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-14 03:15:49 +02:00

Fix wrong background color in tweet screenshots when using black theme

This commit is contained in:
chylex 2018-02-13 12:42:25 +01:00
parent 59fba7fba0
commit 07af99f862
2 changed files with 2 additions and 8 deletions
Resources/Scripts

View File

@ -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

View File

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