From afd404a922b669601d11e4284ecdd13bc391dabd Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Thu, 1 Oct 2015 14:34:58 +0200 Subject: [PATCH 1/3] Give the select field the same margin as the input fields --- app/assets/stylesheets/content/_forms.sass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/assets/stylesheets/content/_forms.sass b/app/assets/stylesheets/content/_forms.sass index e6a9ef76cd..c2623f1bb9 100644 --- a/app/assets/stylesheets/content/_forms.sass +++ b/app/assets/stylesheets/content/_forms.sass @@ -474,6 +474,12 @@ input[readonly].-clickable border: none padding-right: 0 + &.select2-container + // styles adapted to input fields to align them + margin-bottom: 0.5rem + .select2-choice + height: 2.15rem + .form--text-field, .form--select &.-tiny From 62ab2640f0058088f033de6535b6085f6ee9a5f7 Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Fri, 9 Oct 2015 08:47:37 +0200 Subject: [PATCH 2/3] Set height for correct representation especially in Chrome --- app/assets/stylesheets/content/_forms.sass | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/content/_forms.sass b/app/assets/stylesheets/content/_forms.sass index c2623f1bb9..f828e7d745 100644 --- a/app/assets/stylesheets/content/_forms.sass +++ b/app/assets/stylesheets/content/_forms.sass @@ -267,6 +267,7 @@ fieldset.form--fieldset @include grid-visible-overflow align-items: center margin-bottom: 0.825rem + height: 100% &.-vertical, .form.-vertical & From c27b65edc8a0fa45f52943188c44ee38a03e8d6f Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Fri, 9 Oct 2015 13:38:13 +0200 Subject: [PATCH 3/3] Assure correct alignment of input fields --- app/assets/stylesheets/content/_forms.sass | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/content/_forms.sass b/app/assets/stylesheets/content/_forms.sass index f828e7d745..d7a994c941 100644 --- a/app/assets/stylesheets/content/_forms.sass +++ b/app/assets/stylesheets/content/_forms.sass @@ -515,6 +515,7 @@ input[readonly].-clickable .form--grouping-row @include grid-block(10) + align-items: center .form--grouping-row + .form--grouping-row @include grid-offset(2)