diff --git a/webui/src/components/display/UpObjectCard.svelte b/webui/src/components/display/UpObjectCard.svelte index 16bb3ae..15ee7c5 100644 --- a/webui/src/components/display/UpObjectCard.svelte +++ b/webui/src/components/display/UpObjectCard.svelte @@ -52,11 +52,13 @@ border: 0.12em solid var(--foreground); border-radius: 0.2em; - padding: 0.5em; font-family: var(--monospace-font); line-break: anywhere; + width: var(--width); + height: var(--height); + &.identified { font-family: var(--default-font); font-size: 0.95em; @@ -64,11 +66,20 @@ } :global(.main) { + text-decoration: none; + + height: 100%; display: flex; flex-direction: column; align-items: center; + justify-content: center; - text-decoration: none; + margin: 0 .5em; + } + + :global(.main > *){ + min-width: 0; + max-width: 100%; } } @@ -83,7 +94,7 @@ .note { margin: 0; - font-size: .66em; + font-size: 0.66em; } } diff --git a/webui/src/views/Search.svelte b/webui/src/views/Search.svelte index f8157cf..2e79d74 100644 --- a/webui/src/views/Search.svelte +++ b/webui/src/views/Search.svelte @@ -48,7 +48,7 @@