diff --git a/webui/src/components/Inspect.svelte b/webui/src/components/Inspect.svelte index 9f85b2a..3863bae 100644 --- a/webui/src/components/Inspect.svelte +++ b/webui/src/components/Inspect.svelte @@ -314,6 +314,7 @@ .attributes { flex: auto; height: 0; // https://stackoverflow.com/a/14964944 + min-height: 12em; overflow-y: auto; } diff --git a/webui/src/components/display/BlobPreview.svelte b/webui/src/components/display/BlobPreview.svelte index 021b75f..daa7f17 100644 --- a/webui/src/components/display/BlobPreview.svelte +++ b/webui/src/components/display/BlobPreview.svelte @@ -37,7 +37,7 @@ {#if handled} -
+
{#if text}
@@ -106,6 +106,12 @@ &.detail { max-height: 50vh; } + + &.detail.image { + max-height: unset; + flex-grow: 1; + min-height: 0; + } } video,