Skip to content

Commit efa7fd0

Browse files
committed
chore(client): use backward-compatible hiding mechanism
1 parent 5f4d032 commit efa7fd0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/client/src/widgets/NoteDetail.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,8 @@ function NoteDetailWrapper({ Element, type, isVisible, isFullHeight, props }: {
225225
const typeMapping = TYPE_MAPPINGS[type];
226226
return (
227227
<div
228-
className={`${typeMapping.className} ${typeMapping.printable ? "note-detail-printable" : ""}`}
228+
className={`${typeMapping.className} ${typeMapping.printable ? "note-detail-printable" : ""} ${isVisible ? "visible" : "hidden-ext"}`}
229229
style={{
230-
display: !isVisible ? "none" : "",
231230
height: isFullHeight ? "100%" : ""
232231
}}
233232
>

0 commit comments

Comments
 (0)