chore(client): use backward-compatible hiding mechanism

This commit is contained in:
Elian Doran 2025-11-09 22:20:49 +02:00
parent 5f4d0325aa
commit efa7fd0b7d
No known key found for this signature in database

View File

@ -225,9 +225,8 @@ function NoteDetailWrapper({ Element, type, isVisible, isFullHeight, props }: {
const typeMapping = TYPE_MAPPINGS[type];
return (
<div
className={`${typeMapping.className} ${typeMapping.printable ? "note-detail-printable" : ""}`}
className={`${typeMapping.className} ${typeMapping.printable ? "note-detail-printable" : ""} ${isVisible ? "visible" : "hidden-ext"}`}
style={{
display: !isVisible ? "none" : "",
height: isFullHeight ? "100%" : ""
}}
>