diff --git a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html index 578955d96..4fd2241f8 100644 --- a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html +++ b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html @@ -79,7 +79,7 @@ } @case (CustomFieldQueryOperator.Contains) { - + } @default { diff --git a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.scss b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.scss index 3995ffc5e..8c2fd9f73 100644 --- a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.scss +++ b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.scss @@ -8,6 +8,7 @@ ::ng-deep .ng-select-container { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; + height: 100% !important; } ::ng-deep .ng-select { @@ -20,10 +21,13 @@ padding-top: 0 !important; border-top-right-radius: var(--bs-border-radius) !important; border-bottom-right-radius: var(--bs-border-radius) !important; + background-image: none !important; - .ng-select-container { + .ng-select-container, + .ng-select.ng-select-opened > .ng-select-container { border: none !important; - min-height: auto !important; + min-height: 34px !important; + background: none !important; } .ng-select { max-width: 200px; diff --git a/src-ui/src/app/components/common/input/document-link/document-link.component.html b/src-ui/src/app/components/common/input/document-link/document-link.component.html index 94b6033b4..24dcfdca9 100644 --- a/src-ui/src/app/components/common/input/document-link/document-link.component.html +++ b/src-ui/src/app/components/common/input/document-link/document-link.component.html @@ -24,35 +24,33 @@ } - - - - - - - {{document.title}} - - - - - - Loading... - - - {{document.title}} ({{document.created | customDate:'shortDate'}}) - - - + + + + + + {{document.title}} + + + + + + Loading... + + + {{document.title}} ({{document.created | customDate:'shortDate'}}) + + diff --git a/src-ui/src/app/components/common/input/document-link/document-link.component.ts b/src-ui/src/app/components/common/input/document-link/document-link.component.ts index 0e06da34b..882aacad5 100644 --- a/src-ui/src/app/components/common/input/document-link/document-link.component.ts +++ b/src-ui/src/app/components/common/input/document-link/document-link.component.ts @@ -49,6 +49,9 @@ export class DocumentLinkComponent @Input() minimal: boolean = false + @Input() + placeholder: string = $localize`Search for documents` + constructor(private documentsService: DocumentService) { super() }