mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
themebuilder: fix accordion
This commit is contained in:
committed by
Abdullah Atta
parent
5d67a554d6
commit
f1650fd383
@@ -67,7 +67,14 @@ export default function Accordion(
|
||||
<ChevronUp size={16} color={color} />
|
||||
)}
|
||||
</Flex>
|
||||
{!isContentHidden && children}
|
||||
<Flex
|
||||
sx={{
|
||||
display: isContentHidden ? "none" : "flex",
|
||||
flexDirection: "column"
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
</Flex>
|
||||
</Flex>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user