From f177f514f5e75addbc10dc9b52da6d86027e6452 Mon Sep 17 00:00:00 2001
From: chylex <contact@chylex.com>
Date: Sun, 30 Jul 2017 21:19:03 +0200
Subject: [PATCH] Fix column type icons jumping when opening column settings

---
 Resources/Plugins/edit-design/browser.js | 3 ++-
 Resources/Scripts/code.js                | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Resources/Plugins/edit-design/browser.js b/Resources/Plugins/edit-design/browser.js
index 7895390c..687f4eb9 100644
--- a/Resources/Plugins/edit-design/browser.js
+++ b/Resources/Plugins/edit-design/browser.js
@@ -497,7 +497,8 @@ enabled(){
 .icon-list-filled:before{content:"\\f014";font-family:tweetdeckold}
 .icon-user-filled:before{content:"\\f035";font-family:tweetdeckold}
 
-.column-header .column-type-icon { bottom: 26px !important }
+.column-type-icon { bottom: 26px !important }
+.is-options-open .column-type-icon { bottom: 25px !important }
 .tweet-footer { margin-top: 6px !important }`;
       
       document.head.appendChild(this.icons);
diff --git a/Resources/Scripts/code.js b/Resources/Scripts/code.js
index ef49e647..bc70d917 100644
--- a/Resources/Scripts/code.js
+++ b/Resources/Scripts/code.js
@@ -690,6 +690,7 @@
     
     addRule(".column .column-header { height: 49px !important; }"); // fix one pixel space below column header
     addRule(".column:not(.is-options-open) .column-header { border-bottom: none; }"); // fix one pixel space below column header
+    addRule(".is-options-open .column-type-icon { bottom: 27px; }"); // fix one pixel space below column header
     
     addRule(".activity-header { align-items: center !important; margin-bottom: 4px; }"); // tweak alignment of avatar and text in notifications
     addRule(".activity-header .tweet-timestamp { line-height: unset }"); // fix timestamp position in notifications