From fb2276b32d8363684fb96528601f29d2683f5bed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sat, 9 Apr 2022 19:58:44 +0200 Subject: [PATCH] [ui] fix detail column sizing --- webui/src/components/Inspect.svelte | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/webui/src/components/Inspect.svelte b/webui/src/components/Inspect.svelte index 7520454..931f5f9 100644 --- a/webui/src/components/Inspect.svelte +++ b/webui/src/components/Inspect.svelte @@ -44,9 +44,7 @@ $: allTypeAddresses = ($entity?.attr["IS"] || []).map((attr) => attr.value.c); $: allTypeEntries = query( - `(matches (in ${allTypeAddresses - .map((addr) => `@${addr}`) - .join(" ")}) ? ?)` + `(matches (in ${allTypeAddresses.map((addr) => `@${addr}`).join(" ")}) ? ?)` ).result; let allTypes: { [key: string]: UpType } = {}; @@ -407,6 +405,12 @@ } } + .main-content .detail-col { + display: flex; + flex-direction: column; + flex-grow: 1; + } + .error { color: red; }