From c513123f9c06d448f237c2e67c5950ef700f774c Mon Sep 17 00:00:00 2001 From: Paul Friederichsen Date: Mon, 17 Jun 2024 10:13:24 -0500 Subject: [PATCH] Fix up siblings and parents dialog --- .../file-info-sheet.component.scss | 15 -------- ...tag-siblings-parents-dialog.component.html | 36 ++++++++++--------- src/styles.scss | 14 ++++++++ 3 files changed, 34 insertions(+), 31 deletions(-) diff --git a/src/app/file-info-sheet/file-info-sheet.component.scss b/src/app/file-info-sheet/file-info-sheet.component.scss index 2f2a03b..bba2aaa 100644 --- a/src/app/file-info-sheet/file-info-sheet.component.scss +++ b/src/app/file-info-sheet/file-info-sheet.component.scss @@ -79,18 +79,3 @@ .known-url-list-item-title { text-decoration: none; } - -.tag-chip-list { - .tag-chip { - // restore old text wrapping behavior - padding-block: calc((var(--mdc-chip-container-height) - max(var(--mdc-chip-with-avatar-avatar-size), var(--mdc-chip-label-text-line-height))) / 2); - height: 100%; - } - - .tag-chip-text { - white-space: wrap; - overflow-wrap: anywhere; - } -} - - diff --git a/src/app/tag-siblings-parents-dialog/tag-siblings-parents-dialog.component.html b/src/app/tag-siblings-parents-dialog/tag-siblings-parents-dialog.component.html index c395369..fea1f8a 100644 --- a/src/app/tag-siblings-parents-dialog/tag-siblings-parents-dialog.component.html +++ b/src/app/tag-siblings-parents-dialog/tag-siblings-parents-dialog.component.html @@ -1,4 +1,4 @@ -

Siblings and Parents for "{{data.tag}}"

+

Siblings and Parents

@if (siblingsAndParents$ | async; as siblingsAndParents) { @@ -7,24 +7,28 @@

Siblings and Parents for "{{data.tag}}"

@for (service of siblingsAndParents | orderBy: 'serviceName' | orderBy: '-serviceType'; track service.serviceKey) { -

- Ideal tag: - -

{{service.ideal_tag}}
- -

- + + + Ideal + + + +
{{service.ideal_tag}}
+
+
+
+ Siblings ({{service.siblings.length}}) - + @for (tag of (service.siblings | orderBy); track tag) { Siblings and Parents for "{{data.tag}}" Ancestors ({{service.ancestors.length}}) - + @for (tag of (service.ancestors | orderBy); track tag) { Siblings and Parents for "{{data.tag}}" Descendants ({{service.descendants.length}}) - + @for (tag of (service.descendants | orderBy); track tag) {