Skip to content

Commit 9a66bd3

Browse files
committed
Better filter editor wrapping across display sizes
Closes jonaswinkler#1299
1 parent 7752d83 commit 9a66bd3

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class="row flex-wrap">
2-
<div class="col mb-2 mb-xl-0">
2+
<div class="col mb-2 mb-xxl-0">
33
<div class="form-inline d-flex align-items-center">
44
<div class="input-group input-group-sm flex-fill w-auto flex-nowrap">
55
<div ngbDropdown>
@@ -15,10 +15,10 @@
1515
</div>
1616
</div>
1717
</div>
18-
<div class="w-100 d-xl-none"></div>
18+
<div class="w-100 d-xxl-none"></div>
1919
<div class="col col-xl-auto">
2020
<div class="d-flex flex-wrap">
21-
<div class="d-flex flex-wrap mb-2 mb-lg-0">
21+
<div class="d-flex flex-wrap mb-2 mb-xxl-0">
2222
<app-filterable-dropdown class="flex-fill" title="Tags" icon="tag-fill" i18n-title
2323
filterPlaceholder="Filter tags" i18n-filterPlaceholder
2424
[items]="tags"
@@ -63,7 +63,7 @@
6363
</div>
6464
</div>
6565
</div>
66-
<div class="w-100 d-xl-none"></div>
66+
<div class="w-100 d-xxl-none"></div>
6767
<div class="col col-xl-auto ps-0">
6868
<button class="btn btn-link btn-sm px-0" [disabled]="!rulesModified" (click)="resetSelected()">
6969
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-x me-1" fill="currentColor" xmlns="http://www.w3.org/2000/svg">

src-ui/src/app/components/document-list/filter-editor/filter-editor.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,7 @@
1717
.d-flex.flex-wrap {
1818
column-gap: 0.7rem;
1919
}
20+
21+
input[type="text"] {
22+
min-width: 120px;
23+
}

0 commit comments

Comments
 (0)