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:
parent
59fba7fba0
commit
07af99f862
Resources/Scripts
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user