Skip to content

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

bs5: fix search icon location

Michael Shamoon4826c645cdf3
diff --git a/src-ui/src/app/components/app-frame/app-frame.component.html b/src-ui/src/app/components/app-frame/app-frame.component.html
index f1df1cd09..854f86e7a 100644
--- a/src-ui/src/app/components/app-frame/app-frame.component.html
+++ b/src-ui/src/app/components/app-frame/app-frame.component.html
@@ -12,11 +12,11 @@
</a>
<div class="search-form-container flex-grow-1 py-2 pb-3 pb-sm-2 px-3 ps-md-4 me-sm-auto order-3 order-sm-1">
<form (ngSubmit)="search()" class="form-inline flex-grow-1">
- <input class="form-control form-control-sm" type="text" placeholder="Search documents" aria-label="Search"
- [formControl]="searchField" [ngbTypeahead]="searchAutoComplete" (selectItem)="itemSelected($event)" i18n-placeholder>
<svg width="1em" height="1em">
<use xlink:href="assets/bootstrap-icons.svg#search"/>
</svg>
+ <input class="form-control form-control-sm" type="text" placeholder="Search documents" aria-label="Search"
+ [formControl]="searchField" [ngbTypeahead]="searchAutoComplete" (selectItem)="itemSelected($event)" i18n-placeholder>
</form>
</div>
<ul ngbNav class="order-sm-3">
diff --git a/src-ui/src/app/components/app-frame/app-frame.component.scss b/src-ui/src/app/components/app-frame/app-frame.component.scss
index a6f1f696f..c433bfeb5 100644
--- a/src-ui/src/app/components/app-frame/app-frame.component.scss
+++ b/src-ui/src/app/components/app-frame/app-frame.component.scss
@@ -139,6 +139,7 @@
svg {
position: absolute;
left: 0.6rem;
+ top: 0.5rem;
color: rgba(255, 255, 255, 0.6);
}