From 210bdc8df8db39ea8c6225c550a86b3a822c8c10 Mon Sep 17 00:00:00 2001 From: swalther Date: Fri, 17 Mar 2017 20:40:23 +0100 Subject: [PATCH] fix vertical alignment in table cell layout. Fixes #12979 Signed-off-by: swalther --- themes/original/css/common.css.php | 6 +++++- themes/pmahomme/css/common.css.php | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/themes/original/css/common.css.php b/themes/original/css/common.css.php index 8b62682131..f9242f4202 100644 --- a/themes/original/css/common.css.php +++ b/themes/original/css/common.css.php @@ -259,7 +259,7 @@ button.mult_submit { /* odd items 1,3,5,7,... */ table tr:nth-child(odd) { - background: ; + background: ; } /* even items 2,4,6,8,... */ @@ -2644,6 +2644,10 @@ div.jqplot-noData-container { background-color: rgba(96%, 96%, 96%, 0.3); } +.relationalTable td { + vertical-align: top; +} + .relationalTable select { width: 125px; margin-right: 5px; diff --git a/themes/pmahomme/css/common.css.php b/themes/pmahomme/css/common.css.php index e066a18492..cd7a635d41 100644 --- a/themes/pmahomme/css/common.css.php +++ b/themes/pmahomme/css/common.css.php @@ -542,7 +542,7 @@ button.mult_submit { table tbody:first-of-type tr:nth-child(odd), table tbody:first-of-type tr:nth-child(odd) th { background: #fff; -} +} /* even items 2,4,6,8,... */ table tbody:first-of-type tr:nth-child(even), @@ -2910,6 +2910,10 @@ fieldset .disabled-field td { padding-: 20px; } +.relationalTable td { + vertical-align: top; +} + .relationalTable select { width: 125px; margin-right: 5px;