mirror of
https://github.com/zadam/trilium.git
synced 2026-07-13 18:33:53 +02:00
fix(ocr): text displayed in monospace
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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)) })}
|
||||
|
||||
Reference in New Issue
Block a user