diff --git a/frontend/src/components/panels/Document.svelte b/frontend/src/components/panels/Document.svelte index b7e492421d..fb84c7121d 100644 --- a/frontend/src/components/panels/Document.svelte +++ b/frontend/src/components/panels/Document.svelte @@ -721,6 +721,11 @@ {#if isWeb && !["Error", "Panic"].includes($document.renderStatus)} Initializing Renderer… {/if} + {#if $document.renderStatus === "Partial"} +
+ {:else if ["Fallback", "Error", "Panic"].includes($document.renderStatus)} +
+ {/if} {#if $document.renderStatus === "Error"} @@ -983,6 +988,19 @@ } } + .render-status-outline { + position: absolute; + inset: 0; + // Above the error overlays so the outline frames them too + z-index: 1; + box-shadow: inset 0 0 0 1px var(--color-warning-yellow); + pointer-events: none; + + &.failed { + box-shadow: inset 0 0 0 1px var(--color-error-red); + } + } + .render-status-overlay { position: absolute; inset: 0;