diff --git a/Core/Notification/TweetNotification.cs b/Core/Notification/TweetNotification.cs index 069c1591..512e839d 100644 --- a/Core/Notification/TweetNotification.cs +++ b/Core/Notification/TweetNotification.cs @@ -8,7 +8,7 @@ sealed class TweetNotification{ private static string HeadTag { get; set; } private const string DefaultFontSizeClass = "medium"; - private const string DefaultHeadTag = @"<meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='chrome=1'><link rel='stylesheet' href='https://ton.twimg.com/tweetdeck-web/web/css/font.5ef884f9f9.css'><link rel='stylesheet' href='https://ton.twimg.com/tweetdeck-web/web/css/app-dark.5631e0dd42.css'>"; + private const string DefaultHeadTag = @"<meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='chrome=1'><link rel='stylesheet' href='https://ton.twimg.com/tweetdeck-web/web/css/font.5ef884f9f9.css'><link rel='stylesheet' href='https://ton.twimg.com/tweetdeck-web/web/css/app-dark.5631e0dd42.css'><style type='text/css'>body{background:#222426}</style>"; private const string CustomCSS = @"body:before{content:none}body{overflow-y:auto}.scroll-styled-v::-webkit-scrollbar{width:7px}.scroll-styled-v::-webkit-scrollbar-thumb{border-radius:0}.scroll-styled-v::-webkit-scrollbar-track{border-left:0}#td-skip{opacity:0;cursor:pointer;transition:opacity 0.15s ease}.td-hover #td-skip{opacity:0.75}#td-skip:hover{opacity:1}"; public static int FontSizeLevel{ diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js index 81745a5d..b51a76c6 100644 --- a/Resources/Scripts/code.js +++ b/Resources/Scripts/code.js @@ -124,7 +124,7 @@ }); tags.push("<style type='text/css'>"); - tags.push("body { background-color: "+getClassStyleProperty("column", "background-color")+" }"); // set background color + tags.push("body { background: "+getClassStyleProperty("column", "background-color")+" }"); // set background color tags.push("a[data-full-url] { word-break: break-all }"); // break long urls tags.push(".txt-base-smallest .badge-verified:before { height: 13px !important }"); // fix cut off badge icon tags.push("</style>");