From 73af1244e74ea2f661b0dda01c012f5e5e002e56 Mon Sep 17 00:00:00 2001 From: xavijam Date: Fri, 22 Apr 2016 13:42:01 +0200 Subject: [PATCH 1/3] Added options for content input, removing separator and margins --- src/scss/cdb-components/forms/option_input.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/scss/cdb-components/forms/option_input.scss b/src/scss/cdb-components/forms/option_input.scss index b56f6ad..90b9676 100644 --- a/src/scss/cdb-components/forms/option_input.scss +++ b/src/scss/cdb-components/forms/option_input.scss @@ -107,6 +107,9 @@ @include align-items(center); margin: 0 $baseSize; } +.CDB-OptionInput-container--noMargin { + margin: 0; +} .CDB-OptionInput-item { @include display-flex(); @include align-items(center); @@ -129,6 +132,9 @@ } } } +.CDB-OptionInput-item--noSeparator { + content: ''; +} .CDB-OptionInput-content { @include display-flex(); @include align-items(center); From b8387c90c01dd14134e953c29d7546cd765e0910 Mon Sep 17 00:00:00 2001 From: xavijam Date: Fri, 22 Apr 2016 13:58:41 +0200 Subject: [PATCH 2/3] Fixed noSeparator alternative --- 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 90b9676..721032d 100644 --- a/src/scss/cdb-components/forms/option_input.scss +++ b/src/scss/cdb-components/forms/option_input.scss @@ -132,7 +132,7 @@ } } } -.CDB-OptionInput-item--noSeparator { +.CDB-OptionInput-item--noSeparator::after { content: ''; } .CDB-OptionInput-content { From 19e596b714eb0f5116ee2b9c8f64e483c1c3ef00 Mon Sep 17 00:00:00 2001 From: xavijam Date: Fri, 22 Apr 2016 13:59:58 +0200 Subject: [PATCH 3/3] Renamed file with hyphens instead of underscores --- .../cdb-components/forms/{option_input.scss => option-input.scss} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/scss/cdb-components/forms/{option_input.scss => option-input.scss} (100%) diff --git a/src/scss/cdb-components/forms/option_input.scss b/src/scss/cdb-components/forms/option-input.scss similarity index 100% rename from src/scss/cdb-components/forms/option_input.scss rename to src/scss/cdb-components/forms/option-input.scss