mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 17:08:58 +01:00
chore(react/type_widget): bring back on error opacity
This commit is contained in:
parent
8caaa99415
commit
02017ebd9d
@ -47,8 +47,8 @@ export default function SplitEditor({ note, error, splitOptions, previewContent,
|
|||||||
);
|
);
|
||||||
|
|
||||||
const preview = (
|
const preview = (
|
||||||
<div className={`note-detail-split-preview-col ${error ? "on-error" : ""}`}>
|
<div className="note-detail-split-preview-col">
|
||||||
<div className="note-detail-split-preview">
|
<div className={`note-detail-split-preview ${error ? "on-error" : ""}`}>
|
||||||
{previewContent}
|
{previewContent}
|
||||||
</div>
|
</div>
|
||||||
<div className="btn-group btn-group-sm map-type-switcher content-floating-buttons preview-buttons bottom-right" role="group">
|
<div className="btn-group btn-group-sm map-type-switcher content-floating-buttons preview-buttons bottom-right" role="group">
|
||||||
|
|||||||
@ -33,7 +33,7 @@ export default function SvgSplitEditor({ renderSvg, ...props }: SvgSplitEditorPr
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<SplitEditor
|
<SplitEditor
|
||||||
error="Hi there"
|
error={error}
|
||||||
onContentChanged={onContentChanged}
|
onContentChanged={onContentChanged}
|
||||||
previewContent={(
|
previewContent={(
|
||||||
<RawHtmlBlock className="render-container" html={svg} />
|
<RawHtmlBlock className="render-container" html={svg} />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user