From d0374d10d8a38bc22984d1385d5ef0c958c513e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Checa?= Date: Thu, 22 Sep 2016 16:24:04 +0200 Subject: [PATCH 1/3] Replaced `CDB-OptionInput-item:after` content character Used dimensions and background color to take the same result without character in the content, avoiding characters problems. --- src/scss/cdb-components/forms/option-input.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/scss/cdb-components/forms/option-input.scss b/src/scss/cdb-components/forms/option-input.scss index 721032d..12cd642 100644 --- a/src/scss/cdb-components/forms/option-input.scss +++ b/src/scss/cdb-components/forms/option-input.scss @@ -120,9 +120,11 @@ box-sizing: content-box; &::after { - padding: 0 $baseSize - 2; - color: $cHintText; - content: 'ยท'; + margin: 0 $baseSize - 2; + background-color: $cHintText; + content: ''; + width: 1px; + height: 1px; } &:last-child { width: 100%; From 9c5a86ca5f085657ed2879ea212e20e9e7cbed1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Checa?= Date: Thu, 22 Sep 2016 16:26:23 +0200 Subject: [PATCH 2/3] Style fixes --- src/scss/cdb-components/forms/option-input.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scss/cdb-components/forms/option-input.scss b/src/scss/cdb-components/forms/option-input.scss index 12cd642..3ebd915 100644 --- a/src/scss/cdb-components/forms/option-input.scss +++ b/src/scss/cdb-components/forms/option-input.scss @@ -120,11 +120,11 @@ box-sizing: content-box; &::after { + width: 1px; + height: 1px; margin: 0 $baseSize - 2; background-color: $cHintText; content: ''; - width: 1px; - height: 1px; } &:last-child { width: 100%; From 0bcaa5564d9d6c486fa647c894e2611bc94a091d Mon Sep 17 00:00:00 2001 From: piensaenpixel Date: Tue, 27 Sep 2016 12:35:33 +0200 Subject: [PATCH 3/3] add bar --- src/scss/cdb-components/forms/option-input.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scss/cdb-components/forms/option-input.scss b/src/scss/cdb-components/forms/option-input.scss index 3ebd915..98a0c52 100644 --- a/src/scss/cdb-components/forms/option-input.scss +++ b/src/scss/cdb-components/forms/option-input.scss @@ -123,7 +123,7 @@ width: 1px; height: 1px; margin: 0 $baseSize - 2; - background-color: $cHintText; + background-color: $cSecondaryLine; content: ''; } &:last-child {