Skip to content

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

Remove card around filter editor

Michael Shamoon04bb7d48935d
diff --git a/src-ui/src/app/components/document-list/document-list.component.html b/src-ui/src/app/components/document-list/document-list.component.html
index ed54dc3fb..b1b2c8f94 100644
--- a/src-ui/src/app/components/document-list/document-list.component.html
+++ b/src-ui/src/app/components/document-list/document-list.component.html
@@ -62,10 +62,8 @@
</app-page-header>
-<div class="card w-100 mb-3">
- <div class="card-body">
- <app-filter-editor [(filterEditorService)]="filterEditorService" (apply)="applyFilterRules()" (clear)="clearFilterRules()" #filterEditor></app-filter-editor>
- </div>
+<div class="w-100 mb-4">
+ <app-filter-editor [(filterEditorService)]="filterEditorService" (apply)="applyFilterRules()" (clear)="clearFilterRules()" #filterEditor></app-filter-editor>
</div>
<div class="d-flex justify-content-between align-items-center">
diff --git a/src-ui/src/app/components/filter-editor/filter-dropdown/filter-dropdown.component.html b/src-ui/src/app/components/filter-editor/filter-dropdown/filter-dropdown.component.html
index 99ab629dc..523dd084a 100644
--- a/src-ui/src/app/components/filter-editor/filter-dropdown/filter-dropdown.component.html
+++ b/src-ui/src/app/components/filter-editor/filter-dropdown/filter-dropdown.component.html
@@ -1,10 +1,10 @@
<div class="btn-group" ngbDropdown role="group" (openChange)="dropdownOpenChange($event)">
<button class="btn btn-outline-primary btn-sm" id="dropdown{{title}}" ngbDropdownToggle>
- <div class="badge bg-primary text-light rounded-pill ml-auto">
- <ng-container *ngIf="itemsSelected?.length > 0">
+ <ng-container *ngIf="itemsSelected?.length > 0">
+ <div class="badge bg-secondary text-light rounded-pill ml-auto">
{{itemsSelected?.length}}
- </ng-container>
</div>
+ </ng-container>
{{title}}
</button>
<div class="dropdown-menu py-0 shadow" ngbDropdownMenu attr.aria-labelledby="dropdown{{title}}">