diff --git a/Resources/Plugins/edit-design/browser.js b/Resources/Plugins/edit-design/browser.js index a7520f09..3856c329 100644 --- a/Resources/Plugins/edit-design/browser.js +++ b/Resources/Plugins/edit-design/browser.js @@ -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 } ` : ``} diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js index 655f8add..eb3cc91e 100644 --- a/Resources/Scripts/code.js +++ b/Resources/Scripts/code.js @@ -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();