From 9d052c8339ec029b9f201677d7c5d499e0801457 Mon Sep 17 00:00:00 2001 From: chylex <contact@chylex.com> Date: Mon, 21 Aug 2017 02:17:48 +0200 Subject: [PATCH] Update close button fix to only affect New Tweet drawer --- Resources/Scripts/code.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js index 092bc275..88013dca 100644 --- a/Resources/Scripts/code.js +++ b/Resources/Scripts/code.js @@ -771,7 +771,7 @@ addRule("#td-compose-drawer-pin { margin: 17px 4px 0 0; transition: transform 0.1s ease; fill: #fff; float: right; cursor: pointer; }"); // replace 'stay open' checkbox with a pin icon addRule(".js-docked-compose footer { display: none; }"); // replace 'stay open' checkbox with a pin icon addRule(".compose-content { bottom: 0 !important; }"); // replace 'stay open' checkbox with a pin icon - addRule(".js-drawer-close { margin: 20px 0 0 !important; }"); // fix close drawer button because twitter is fucking incompetent + addRule(".js-docked-compose .js-drawer-close { margin: 20px 0 0 !important; }"); // fix close drawer button because twitter is fucking incompetent window.TDGF_reinjectCustomCSS = function(styles){ $("#tweetduck-custom-css").remove();