fix(ocr): text displayed in monospace

This commit is contained in:
Elian Doran
2026-04-01 17:19:53 +03:00
parent 5979290f0c
commit 010230645c
2 changed files with 2 additions and 4 deletions

View File

@@ -19,8 +19,6 @@
.text-representation-content {
white-space: pre-wrap;
font-family: var(--detail-text-font-family);
font-size: var(--detail-text-font-size);
line-height: 1.6;
border: 1px solid var(--main-border-color);
border-radius: 4px;

View File

@@ -82,9 +82,9 @@ export default function ReadOnlyTextRepresentation({ note }: TypeWidgetProps) {
{state.kind === "loaded" && (
<>
<pre className="text-representation-content">
<div className="text-representation-content">
{state.text}
</pre>
</div>
{state.extractedAt && (
<div className="text-representation-meta">
{t("ocr.extracted_on", { date: formatDateTime(new Date(state.extractedAt)) })}