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

Make the fix to visible scrollbar when loading TweetDeck more reliable

This commit is contained in:
chylex 2018-11-20 20:56:52 +01:00
parent 15a4e10da9
commit 816a5334ac
2 changed files with 1 additions and 9 deletions
Core/Utils
Resources/Scripts/styles

View File

@ -16,7 +16,7 @@ static class TwitterUtils{
public const string TweetDeckURL = "https://tweetdeck.twitter.com";
public static readonly Color BackgroundColor = Color.FromArgb(28, 99, 153);
public const string BackgroundColorOverride = "setTimeout(function f(){let h=document.head;if(!h){setTimeout(f,5);return;}let e=document.createElement('style');e.innerHTML='body,body::before{background:#1c6399!important}';h.appendChild(e);},1)";
public const string BackgroundColorOverride = "setTimeout(function f(){let h=document.head;if(!h){setTimeout(f,5);return;}let e=document.createElement('style');e.innerHTML='body,body::before{background:#1c6399!important;margin:0}';h.appendChild(e);},1)";
public static readonly ResourceLink LoadingSpinner = new ResourceLink("https://ton.twimg.com/tduck/spinner", ResourceHandler.FromByteArray(Properties.Resources.spinner, "image/apng"));

View File

@ -1,11 +1,3 @@
/***********/
/* General */
/***********/
body {
margin: 0;
}
/***********************/
/* Redesign scrollbars */
/***********************/