From 32ae0850e368e493edae66cc33a39a7e2fbbfb05 Mon Sep 17 00:00:00 2001 From: Florian Kraft Date: Thu, 19 Mar 2015 16:08:53 +0100 Subject: [PATCH 1/3] set a middle align for table cells [ci skip] --- app/assets/stylesheets/content/_tables.sass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/assets/stylesheets/content/_tables.sass b/app/assets/stylesheets/content/_tables.sass index ef65b6676e..7099b371d2 100644 --- a/app/assets/stylesheets/content/_tables.sass +++ b/app/assets/stylesheets/content/_tables.sass @@ -26,8 +26,6 @@ // See doc/COPYRIGHT.rdoc for more details. //++ -/***** Tables **** - table &.list border: 1px solid #e4e4e4 @@ -39,7 +37,7 @@ table padding: 4px white-space: nowrap td - vertical-align: top + vertical-align: middle &.id width: 2% text-align: center From 79624e822acde34f7e3e87c69e9a1b7ea57532b1 Mon Sep 17 00:00:00 2001 From: Florian Kraft Date: Thu, 19 Mar 2015 16:31:08 +0100 Subject: [PATCH 2/3] remove padding from certain inputs in a table cell [ci skip] --- app/assets/stylesheets/content/_tables.sass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/stylesheets/content/_tables.sass b/app/assets/stylesheets/content/_tables.sass index 7099b371d2..43e64bd921 100644 --- a/app/assets/stylesheets/content/_tables.sass +++ b/app/assets/stylesheets/content/_tables.sass @@ -52,6 +52,8 @@ table text-align: right a padding-right: 0.6em + .form--text-field, .form--select + margin-bottom: 0 caption text-align: left padding: 0.5em 0.5em 0.5em 0 From fe2b30c7dce0f5712516df37b1c4b9c800beed8f Mon Sep 17 00:00:00 2001 From: Florian Kraft Date: Thu, 19 Mar 2015 17:38:31 +0100 Subject: [PATCH 3/3] add textarea to the list of middle aligned attributes [ci skip] --- app/assets/stylesheets/content/_tables.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/content/_tables.sass b/app/assets/stylesheets/content/_tables.sass index 43e64bd921..c2fd45c230 100644 --- a/app/assets/stylesheets/content/_tables.sass +++ b/app/assets/stylesheets/content/_tables.sass @@ -52,7 +52,7 @@ table text-align: right a padding-right: 0.6em - .form--text-field, .form--select + .form--text-field, .form--select, .form--text-area margin-bottom: 0 caption text-align: left