diff --git a/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.scss b/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.scss
index ca664f3..e5843d2 100644
--- a/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.scss
+++ b/mediarepo-ui/src/app/components/file-search/filter-dialog/filter-dialog.component.scss
@@ -10,6 +10,7 @@
.tag-input {
width: 100%;
+ height: 5em;
}
mat-list-item.filter-list-item {
@@ -29,13 +30,16 @@ app-tag-filter-list-item {
.filter-dialog-content {
overflow: hidden;
- height: 100%;
width: 100%;
- margin: 0;
+ max-height: 60vh;
}
.filter-dialog-list {
+ max-height: calc(60vh - 5em);
overflow-y: auto;
- height: 100%;
width: 100%;
}
+
+mat-list.mat-filter-dialog-list {
+ padding: 0;
+}
diff --git a/mediarepo-ui/src/app/components/inputs/tag-input/tag-input.component.html b/mediarepo-ui/src/app/components/inputs/tag-input/tag-input.component.html
index b1b8997..af9d353 100644
--- a/mediarepo-ui/src/app/components/inputs/tag-input/tag-input.component.html
+++ b/mediarepo-ui/src/app/components/inputs/tag-input/tag-input.component.html
@@ -1,4 +1,4 @@
-
+
Enter a tag
@@ -7,6 +7,7 @@
matInput
(keydown.enter)="addTagByInput($event)"
[matAutocomplete]="auto">
+
{{tag}}
diff --git a/mediarepo-ui/src/app/pages/home/files-tab/files-tab-sidebar/files-tab-sidebar.component.html b/mediarepo-ui/src/app/pages/home/files-tab/files-tab-sidebar/files-tab-sidebar.component.html
index d54f2d8..3b3b29a 100644
--- a/mediarepo-ui/src/app/pages/home/files-tab/files-tab-sidebar/files-tab-sidebar.component.html
+++ b/mediarepo-ui/src/app/pages/home/files-tab/files-tab-sidebar/files-tab-sidebar.component.html
@@ -5,7 +5,6 @@
diff --git a/mediarepo-ui/src/app/pages/home/files-tab/files-tab-sidebar/files-tab-sidebar.component.ts b/mediarepo-ui/src/app/pages/home/files-tab/files-tab-sidebar/files-tab-sidebar.component.ts
index f06a2a1..a7ff42f 100644
--- a/mediarepo-ui/src/app/pages/home/files-tab/files-tab-sidebar/files-tab-sidebar.component.ts
+++ b/mediarepo-ui/src/app/pages/home/files-tab/files-tab-sidebar/files-tab-sidebar.component.ts
@@ -74,10 +74,6 @@ export class FilesTabSidebarComponent implements OnInit, OnChanges {
await this.fileSearch.searchForFiles();
}
- getValidTagsForSearch(): string[] {
- return this.tagsOfFiles.map(t => t.getNormalizedOutput())
- }
-
async showFileDetails(files: File[]) {
this.tagsOfSelection = await this.tagService.getTagsForFiles(files.map(f => f.hash))
this.tagsOfSelection = this.tagsOfSelection.sort(