Browse Source

Add missing label ID for custom CSS field

Frédéric Guillot 2 years ago
parent
commit
7d9f174b3f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      internal/template/templates/views/settings.html

+ 2 - 1
internal/template/templates/views/settings.html

@@ -195,7 +195,8 @@
 
         <label><input type="checkbox" name="entry_swipe" value="1" {{ if .form.EntrySwipe }}checked{{ end }}> {{ t "form.prefs.label.entry_swipe" }}</label>
 
-        <label>{{t "form.prefs.label.custom_css" }}</label><textarea name="custom_css" cols="40" rows="8" spellcheck="false">{{ .form.CustomCSS }}</textarea>
+        <label for="form-custom-css">{{t "form.prefs.label.custom_css" }}</label>
+        <textarea id="form-custom-css" name="custom_css" cols="40" rows="10" spellcheck="false">{{ .form.CustomCSS }}</textarea>
         <div class="buttons">
             <button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
         </div>