Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Better filter editor wrapping across display sizes

Michael Shamoon9a66bd3c3432
diff --git a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html
index 6709cfd0e..6c9d9f8c7 100644
--- a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html
+++ b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html
@@ -1,5 +1,5 @@
<div class="row flex-wrap">
- <div class="col mb-2 mb-xl-0">
+ <div class="col mb-2 mb-xxl-0">
<div class="form-inline d-flex align-items-center">
<div class="input-group input-group-sm flex-fill w-auto flex-nowrap">
<div ngbDropdown>
@@ -15,10 +15,10 @@
</div>
</div>
</div>
- <div class="w-100 d-xl-none"></div>
+ <div class="w-100 d-xxl-none"></div>
<div class="col col-xl-auto">
<div class="d-flex flex-wrap">
- <div class="d-flex flex-wrap mb-2 mb-lg-0">
+ <div class="d-flex flex-wrap mb-2 mb-xxl-0">
<app-filterable-dropdown class="flex-fill" title="Tags" icon="tag-fill" i18n-title
filterPlaceholder="Filter tags" i18n-filterPlaceholder
[items]="tags"
@@ -63,7 +63,7 @@
</div>
</div>
</div>
- <div class="w-100 d-xl-none"></div>
+ <div class="w-100 d-xxl-none"></div>
<div class="col col-xl-auto ps-0">
<button class="btn btn-link btn-sm px-0" [disabled]="!rulesModified" (click)="resetSelected()">
<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">
diff --git a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.scss b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.scss
index 6bfe1448d..0e8796b3d 100644
--- a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.scss
+++ b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.scss
@@ -17,3 +17,7 @@
.d-flex.flex-wrap {
column-gap: 0.7rem;
}
+
+input[type="text"] {
+ min-width: 120px;
+}