From 742df9dff30a35711fc445b924f21a98be20ee45 Mon Sep 17 00:00:00 2001 From: chylex <info@chylex.com> Date: Wed, 5 Apr 2017 01:06:52 +0200 Subject: [PATCH] Make the default theme/column/font settings hidden if edit-design plugin is enabled --- Resources/Plugins/edit-design/browser.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Resources/Plugins/edit-design/browser.js b/Resources/Plugins/edit-design/browser.js index 7d15016c..1302013a 100644 --- a/Resources/Plugins/edit-design/browser.js +++ b/Resources/Plugins/edit-design/browser.js @@ -239,6 +239,9 @@ enabled(){ this.reinjectAll = () => { this.resetDesign(); + this.css.insert("#general_settings .cf { display: none !important }"); + this.css.insert("#general_settings .divider-bar::after { display: inline-block; padding-top: 10px; line-height: 17px; content: 'Use the new | Edit layout & design | option in the Settings to modify TweetDeck theme, column width, font size, and other features.' }"); + this.css.insert(".txt-base-smallest:not(.icon), .txt-base-largest:not(.icon) { font-size: "+this.config.fontSize+" !important }"); this.css.insert(".avatar { border-radius: "+this.config.avatarRadius+"% !important }");