UX: Improve display of site setting validation message.

Previously, the validation message is shown inline with the label which
leads to the available width for both element being reduced.
This commit is contained in:
Guo Xiang Tan 2020-05-13 10:43:44 +08:00
parent 765e842101
commit 822e594fc8
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20

View File

@ -1,5 +1,6 @@
<label>
{{input type="checkbox" checked=enabled}}
<span>{{html-safe setting.description}}</span>
{{setting-validation-message message=validationMessage}}
</label>
{{setting-validation-message message=validationMessage}}