From 39f13e1b3aca7ab61c6b61d17c41eece047f40ad Mon Sep 17 00:00:00 2001 From: infiinte-persistence Date: Mon, 8 Jun 2020 08:29:52 +0200 Subject: [PATCH] Form-field: Wrap the label/error message when it is too long. --- ui/scss/component/_form-field.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ui/scss/component/_form-field.scss b/ui/scss/component/_form-field.scss index 5c5e5c67d..b5eb68b06 100644 --- a/ui/scss/component/_form-field.scss +++ b/ui/scss/component/_form-field.scss @@ -94,6 +94,13 @@ fieldset-group { fieldset-section:last-child { width: 100%; + label { + // Overwrite the input's label to wrap instead. This is usually + // an error message, which could be long in other languages. + width: 100%; + white-space: normal; + } + input { border-left: 0; border-top-left-radius: 0;