mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 08:58: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 = (
|
||||
<div className={`note-detail-split-preview-col ${error ? "on-error" : ""}`}>
|
||||
<div className="note-detail-split-preview">
|
||||
<div className="note-detail-split-preview-col">
|
||||
<div className={`note-detail-split-preview ${error ? "on-error" : ""}`}>
|
||||
{previewContent}
|
||||
</div>
|
||||
<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 (
|
||||
<SplitEditor
|
||||
error="Hi there"
|
||||
error={error}
|
||||
onContentChanged={onContentChanged}
|
||||
previewContent={(
|
||||
<RawHtmlBlock className="render-container" html={svg} />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user