From 8d5a8b5d932cf359d7a209b4bd9aec6828bbff57 Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Wed, 4 Mar 2015 07:49:01 +0100 Subject: [PATCH] fix styling of sort by modal form --- app/assets/stylesheets/content/_forms.sass | 6 ++ .../work_packages/modals/sorting.html | 76 ++++++++++--------- 2 files changed, 47 insertions(+), 35 deletions(-) diff --git a/app/assets/stylesheets/content/_forms.sass b/app/assets/stylesheets/content/_forms.sass index 534dd0d4e2..8409e95cb0 100644 --- a/app/assets/stylesheets/content/_forms.sass +++ b/app/assets/stylesheets/content/_forms.sass @@ -73,6 +73,11 @@ $form--field-types: (text-field, text-area, select, check-box, range-field, sear .form--space padding-top: 10px +.form--row + @include grid-block + // cancel out foundations overflow-y: auto + overflow: visible + fieldset legend:after @include icon-common @@ -217,6 +222,7 @@ fieldset.form--fieldset @include grid-orient(vertical) .grid-block:nth-last-of-type(n+2) > &, + .form--row:nth-last-of-type(n+2) > &, .form--grouping-row > &:nth-last-of-type(n+2) padding-right: 1rem diff --git a/frontend/public/templates/work_packages/modals/sorting.html b/frontend/public/templates/work_packages/modals/sorting.html index a7af1fa60b..5832e7d862 100644 --- a/frontend/public/templates/work_packages/modals/sorting.html +++ b/frontend/public/templates/work_packages/modals/sorting.html @@ -6,43 +6,49 @@