form-field__textarea-info - hide if no children

This prevents extra whitespace under the textarea when all widgets in `info` are removed.
This commit is contained in:
infinite-persistence 2021-09-27 10:28:23 +08:00
parent c71b90cecf
commit 085fe44463
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -454,6 +454,10 @@ fieldset-group {
margin-bottom: var(--spacing-s); margin-bottom: var(--spacing-s);
} }
.form-field__textarea-info:empty {
display: none;
}
.form-field__quick-emojis { .form-field__quick-emojis {
> *:not(:last-child) { > *:not(:last-child) {
margin-right: var(--spacing-s); margin-right: var(--spacing-s);