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

View File

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