From 7fb0d2374d94f251e2f646729d474441f7021d17 Mon Sep 17 00:00:00 2001 From: Artem Anufrij Date: Mon, 1 May 2017 08:35:31 +0200 Subject: [PATCH] better behavior for comment field (#105) * better behavior for comment field * removed min-height Signed-off-by: Artem Anufrij --- css/style.css | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/css/style.css b/css/style.css index 8fea05cff..629d45209 100644 --- a/css/style.css +++ b/css/style.css @@ -418,7 +418,6 @@ button:hover { */ #card-header { - min-height: 44px; } #card-header h2 { @@ -436,7 +435,9 @@ button:hover { } #card-meta { - padding-top: 0; + height: 100%; + display: flex; + flex-direction: column; } #card-dates { @@ -452,6 +453,12 @@ button:hover { #card-dates span { } +#card-description { + height: 100%; + display: flex; + flex-direction: column; +} + #card-description > h3 { border-bottom: 1px solid #333333; font-weight: 600; @@ -459,14 +466,8 @@ button:hover { padding: 5px; } -.save-indicator { - background-color: #009900; - color: #ffffff; - border-radius: 3px; - float: right; - padding: 1px 10px; - font-size: 8pt !important; - display: none; +#card-description > div { + height: 100%; } #card-description textarea { @@ -481,6 +482,16 @@ button:hover { background-color: white; } +.save-indicator { + background-color: #009900; + color: #ffffff; + border-radius: 3px; + float: right; + padding: 1px 10px; + font-size: 8pt !important; + display: none; +} + #sidebar-header, .card-block { padding: 15px; @@ -506,6 +517,8 @@ button:hover { border-left: none; width: 500px; border-left: 1px solid #eeeeee; + display:flex; + flex-direction: column; } #app-sidebar.details-visible {