mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-14 21:15:48 +02:00
Move 'Show this thread' in desktop notifications above media/quotes & fix hover color w/ black theme
This commit is contained in:
parent
2b54627750
commit
2282a9df28
Resources
@ -601,7 +601,8 @@ ${this.config.revertIcons ? `
|
||||
` : ``}
|
||||
|
||||
${this.config.themeOverride === "black" ? `
|
||||
html.dark a, html.dark a:hover, html.dark a:focus, html.dark a:active, html.dark .btn-neutral-positive { color: #8bd }
|
||||
html.dark a, html.dark a:hover, html.dark a:focus, html.dark a:active { color: #8bd }
|
||||
.btn-neutral-positive { color: #8bd !important }
|
||||
.quoted-tweet { border-color: #292f33 !important }
|
||||
` : ``}
|
||||
|
||||
|
@ -186,6 +186,12 @@
|
||||
return $(this).text() === "Show this thread";
|
||||
}).first().each(function(){
|
||||
this.id = "tduck-show-thread";
|
||||
|
||||
let moveBefore = html.find(".tweet-body > .js-media, .tweet-body > .js-media-preview-container, .quoted-tweet");
|
||||
|
||||
if (moveBefore){
|
||||
$(this).css("margin-top", "5px").removeClass("margin-b--5").parent("span").detach().insertBefore(moveBefore);
|
||||
}
|
||||
});
|
||||
|
||||
let type = tweet.getChirpType();
|
||||
|
Loading…
Reference in New Issue
Block a user