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;
|
||||
}
|
||||
|
||||
> input[type="text"] {
|
||||
> input[type="text"],
|
||||
> input[type="search"] {
|
||||
display: inline-flex;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
> .select-kit,
|
||||
> input[type="text"],
|
||||
> input[type="search"],
|
||||
> label,
|
||||
> .btn,
|
||||
> .d-date-input {
|
||||
|
|
|
@ -62,6 +62,12 @@
|
|||
</div>
|
||||
{{/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"}}
|
||||
<div class="inline-form">
|
||||
{{category-notifications-button category=dummy.categories.[0] value=1 onChange=(action "dummy")}}
|
||||
|
|
Loading…
Reference in New Issue