]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Better filter editor wrapping across display sizes 1305/head
authorMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Fri, 29 Jul 2022 21:43:49 +0000 (14:43 -0700)
committerMichael Shamoon <4887959+shamoon@users.noreply.github.com>
Mon, 1 Aug 2022 03:25:21 +0000 (20:25 -0700)
Closes #1299

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

index 6709cfd0e4153dd4e6f3b8127311777974b4916a..6c9d9f8c793a8c22c98ac9a6c191d983742d317a 100644 (file)
@@ -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>
          </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">
index 6bfe1448dd3b12599e82a9179c474a756bfe68be..0e8796b3dea8018f1018ca817d6849da59bef23d 100644 (file)
@@ -17,3 +17,7 @@
 .d-flex.flex-wrap {
   column-gap: 0.7rem;
 }
+
+input[type="text"] {
+  min-width: 120px;
+}