From 085fe44463718c48edcfad108a16cced375a622c Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Mon, 27 Sep 2021 10:28:23 +0800 Subject: [PATCH] form-field__textarea-info - hide if no children This prevents extra whitespace under the textarea when all widgets in `info` are removed. --- ui/scss/component/_form-field.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/scss/component/_form-field.scss b/ui/scss/component/_form-field.scss index 0933a87be..c20e27984 100644 --- a/ui/scss/component/_form-field.scss +++ b/ui/scss/component/_form-field.scss @@ -454,6 +454,10 @@ fieldset-group { margin-bottom: var(--spacing-s); } +.form-field__textarea-info:empty { + display: none; +} + .form-field__quick-emojis { > *:not(:last-child) { margin-right: var(--spacing-s);