UX: Support `type=search` inputs in inline forms (#15790)
This commit is contained in:
parent
68f5c36000
commit
3b75120b3d
|
@ -167,13 +167,15 @@ input[type="submit"] {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
> input[type="text"] {
|
> input[type="text"],
|
||||||
|
> input[type="search"] {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .select-kit,
|
> .select-kit,
|
||||||
> input[type="text"],
|
> input[type="text"],
|
||||||
|
> input[type="search"],
|
||||||
> label,
|
> label,
|
||||||
> .btn,
|
> .btn,
|
||||||
> .d-date-input {
|
> .d-date-input {
|
||||||
|
|
|
@ -62,6 +62,12 @@
|
||||||
</div>
|
</div>
|
||||||
{{/styleguide-example}}
|
{{/styleguide-example}}
|
||||||
|
|
||||||
|
{{#styleguide-example title="full-width inline-form with search type input"}}
|
||||||
|
<div class="inline-form full-width">
|
||||||
|
{{input placeholder="Search type input" type="search"}}
|
||||||
|
</div>
|
||||||
|
{{/styleguide-example}}
|
||||||
|
|
||||||
{{#styleguide-example title="category-notifications-button and regular button"}}
|
{{#styleguide-example title="category-notifications-button and regular button"}}
|
||||||
<div class="inline-form">
|
<div class="inline-form">
|
||||||
{{category-notifications-button category=dummy.categories.[0] value=1 onChange=(action "dummy")}}
|
{{category-notifications-button category=dummy.categories.[0] value=1 onChange=(action "dummy")}}
|
||||||
|
|
Loading…
Reference in New Issue