This commit is contained in:
2025-10-27 00:17:15 +01:00
parent 10e28cc5e2
commit 6a04d29eed
2 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -1104,7 +1104,7 @@ const DetailPanel = ({
{metadata && (
<div>
<dt>Metadata</dt>
<pre>{JSON.stringify(metadata, null, 2)}</pre>
<pre className="detail-metadata__block">{JSON.stringify(metadata, null, 2)}</pre>
</div>
)}
{hasOcrAsset && ocrOpen
+13
View File
@@ -2035,6 +2035,19 @@ button.danger:hover:not([disabled]) {
margin-top: 0.5rem;
}
.detail-metadata__block {
margin: 0.35rem 0 0;
padding: 0.5rem 0.6rem;
background: var(--surface-soft);
border-radius: 4px;
border: 1px solid var(--border-muted, var(--border));
white-space: pre-wrap;
word-break: break-word;
font-family: var(--font-mono, 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace);
font-size: 0.82rem;
line-height: 1.45;
}
.tag-pill {
display: inline-flex;
align-items: center;