mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Added search input types to 3 inputs total, closes #726
* Added type search to search bar (forum) * Added CSS `box-sizing: inherit` to search <input> because bootstrap styles mess up the search box * Added type color to both color settings in appearance (admin)
This commit is contained in:
4
js/admin/dist/app.js
vendored
4
js/admin/dist/app.js
vendored
@@ -17834,8 +17834,8 @@ System.register('flarum/components/AppearancePage', ['flarum/components/Page', '
|
||||
m(
|
||||
'div',
|
||||
{ className: 'AppearancePage-colors-input' },
|
||||
m('input', { className: 'FormControl', placeholder: '#aaaaaa', value: this.primaryColor(), onchange: m.withAttr('value', this.primaryColor) }),
|
||||
m('input', { className: 'FormControl', placeholder: '#aaaaaa', value: this.secondaryColor(), onchange: m.withAttr('value', this.secondaryColor) })
|
||||
m('input', { className: 'FormControl', type: 'color', placeholder: '#aaaaaa', value: this.primaryColor(), onchange: m.withAttr('value', this.primaryColor) }),
|
||||
m('input', { className: 'FormControl', type: 'color', placeholder: '#aaaaaa', value: this.secondaryColor(), onchange: m.withAttr('value', this.secondaryColor) })
|
||||
),
|
||||
Switch.component({
|
||||
state: this.darkMode(),
|
||||
|
Reference in New Issue
Block a user