From 66bddc573086184d09cbc6ee50cf3300a64ae7ba Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Thu, 27 Sep 2018 12:05:17 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B0931=20AttributeSet=20CSS=20:=20fix=20rem?= =?UTF-8?q?ove=20box=20disappearing=20with=20long=20tag=20labels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/light-grey.css | 13 +++---------- css/light-grey.scss | 13 ++----------- 2 files changed, 5 insertions(+), 21 deletions(-) diff --git a/css/light-grey.css b/css/light-grey.css index a8df0c05d..bbdc9d4d7 100644 --- a/css/light-grey.css +++ b/css/light-grey.css @@ -2904,10 +2904,10 @@ div.selectize-control > div.selectize-input > div.item[data-value], div.selectiz margin-right: 3px; margin-bottom: 3px; padding: 4px 6px; - padding-right: 4px !important; + padding-right: 1.5em !important; + /* this is for the remove box ! */ max-width: 120px; - background-color: #fdfdfd; - background-image: none; + background: #fdfdfd none; border-radius: 2px; border: 1px solid #ddd; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px 1px #f1f1f1; @@ -2919,12 +2919,5 @@ div.selectize-control > div.selectize-input > div.item[data-value], div.selectiz white-space: nowrap; } div.selectize-control > div.selectize-input > div.item[data-value] > .remove { - position: relative; - top: initial; - right: initial; - bottom: initial; - vertical-align: initial; - padding: initial; border: none; - margin-left: 4px; } diff --git a/css/light-grey.scss b/css/light-grey.scss index 8d3f49f9c..0b15b659a 100644 --- a/css/light-grey.scss +++ b/css/light-grey.scss @@ -3330,11 +3330,10 @@ div.selectize-control > div.selectize-input > div.item[data-value].active, margin-right: 3px; margin-bottom: 3px; padding: 4px 6px; - padding-right: 4px !important; + padding-right: 1.5em !important; /* this is for the remove box ! */ max-width: 120px; - background-color: #fdfdfd; - background-image: none; + background: #fdfdfd none; border-radius: 2px; border: 1px solid $gray-lighter; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px 1px rgb(241, 241, 241, 0.7); @@ -3349,13 +3348,5 @@ div.selectize-control > div.selectize-input > div.item[data-value].active, div.selectize-control > div.selectize-input > div.item[data-value] > .remove { - position: relative; - top: initial; - right: initial; - bottom: initial; - vertical-align: initial; - padding: initial; border: none; - - margin-left: 4px; } \ No newline at end of file