FIX: Site-setting integer input type (#25485)

Regressed in f2e1363f67
This commit is contained in:
Jarek Radosz 2024-01-30 20:25:48 +01:00 committed by GitHub
parent 491e7a3429
commit 58be138e75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,6 @@
<input <input
{{on "input" (action (mut this.value) value="target.value")}} {{on "input" (action (mut this.value) value="target.value")}}
type="number"
value={{this.value}} value={{this.value}}
min={{if this.setting.min this.setting.min null}} min={{if this.setting.min this.setting.min null}}
max={{if this.setting.max this.setting.max null}} max={{if this.setting.max this.setting.max null}}

View File

@ -203,8 +203,7 @@ input {
&[type="url"], &[type="url"],
&[type="search"], &[type="search"],
&[type="tel"], &[type="tel"],
&[type="color"], &[type="color"] {
&.input-setting-integer {
@include appearance-none; @include appearance-none;
@include form-item-sizing; @include form-item-sizing;
display: inline-block; display: inline-block;