small fixes

This commit is contained in:
teldra 2022-04-12 12:52:11 +02:00
parent 79af3dc0c4
commit 8e6bdbd460
3 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,5 @@
fieldset {
display: flex; flex-direction: row; padding: 0; border: none; margin: 0 0 .3rem .5rem;
display: flex; flex-wrap: wrap; flex-direction: row; padding: 0; border: none; margin: 0 0 .3rem .5rem;
}
input, textarea {

View File

@ -1,3 +1,3 @@
<input type="checkbox" name="{{ .name }}" id="{{ .name }}" value="true" style="font-size: smaller; margin-right: 0;" >
<label for="{{ .name }}" style="font-size: smaller; margin: 0;"> {{ if i18n "expand" }}{{ i18n "expand" }}{{ else }}{{ "expand" }}{{ end }}</label>
<label style="font-size: smaller; margin: 0;"> <input type="checkbox" name="{{ .name }}" id="{{ .name }}" value="true" style="font-size: smaller; margin-right: 0;" /> {{ if i18n "expand" }}{{ i18n "expand" }}{{ else }}{{ "expand" }}{{ end }}</label>

View File

@ -88,12 +88,10 @@
<div class="checkbox {{ if ne .expanded true }}visibleIf margin_left_1rem stretch" data-visibleif-rule="{{ $in0 }}cat == 'true'{{end}}">
<div class="column margin_left_1rem">
<fieldset id="{{ $in0 }}" name="{{ $in0 }}" class="fieldset">
<fieldset>
{{ range sort $finale }}
<input type="checkbox" name="{{ $in0 }}" id="{{ $in0 }}-cat" value="{{ . }}"><label for="{{ $in0 }}-cat">{{ . }}</label>
<label><input type="checkbox" name="{{ $in0 }}{{ . }}" id="{{ $in0 }}{{ . }}" value="{{ . }}" />{{ . }}</label>
{{ end }}
</fieldset>
{{ if .new }}
@ -155,7 +153,7 @@
{{ end }}
</fieldset>
{{ if .new }}
<label id="label" for="new{{- .title -}}">{{ .new }} <span class="font_size_smaller">({{- $divide -}}{{- if .help -}}, {{ .help }}{{ end }})</span></label>
<label id="id{{- .title -}}" for="new{{- .title -}}">{{ .new }} <span class="font_size_smaller">({{- $divide -}}{{- if .help -}}, {{ .help }}{{ end }})</span></label>
<input type="text" name="new{{- .title -}}" id="new{{- .title -}}" value="" {{ if .placeholder }}placeholder="{{ .placeholder }}"{{ end }} />
{{ end }}
</div>