From 6cb68f179c5be0687ff99b395a39ef7c16cfca3a Mon Sep 17 00:00:00 2001 From: Julia Aranovich Date: Tue, 22 Nov 2016 17:41:58 +0300 Subject: [PATCH] Fix styles of text list control Text list control styles are fixed both in node attributes form and NIC attributes form. Closes-Bug: #1643913 Change-Id: Ie6be58af8de1cca820eb53ea728e57bc76193b84 --- static/styles/main.less | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/static/styles/main.less b/static/styles/main.less index 475108ffa..d99bd5ec2 100644 --- a/static/styles/main.less +++ b/static/styles/main.less @@ -3665,8 +3665,12 @@ input[type=range] { display: block; color: @gray; margin-top: 0; + &.field-error { + margin-left: @node-attributes-padding; + padding: 0; + } } - &.has-error .help-block {color: @red;} + .has-error .help-block, &.has-error .help-block {.text-danger;} } .checkbox-group { label { @@ -4084,6 +4088,16 @@ input[type=range] { max-width: 585px; } } + .form-group .field-list { + width: auto; + > div:after { + .clearfix; + } + .help-block, + .help-block { + width: 545px; + padding-top: 8px; + } + } } } }