Fix Submit/Edit layer form field rendering issue

Some controls on the Submit / Edit Layer page were getting the wrong
width and any "feedback" elements were being pulled to the right because
of the size of their parent divs. Instead of pulling in the size of the
form control, act on the div to fix the problem. Additionally the
help text should now be allowed to expand to the full width of the
parent div since that is now sensible.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2018-11-20 11:31:40 +13:00
parent 4f25afe805
commit e10d21240c

View File

@ -85,11 +85,7 @@ padding: 8px;
padding-bottom: 0.75em; padding-bottom: 0.75em;
} }
.formfields input { .formfields > div {
width: 50%;
}
.formfields textarea {
width: 50%; width: 50%;
} }
@ -118,7 +114,6 @@ padding: 8px;
.custom-help { .custom-help {
margin-left: 10px; margin-left: 10px;
max-width: 40%;
color: #999; color: #999;
vertical-align:top; vertical-align:top;
} }