ench: remove maxHeight on sidebar section

This commit is contained in:
vitorRibeiro7 2025-01-17 11:33:44 -03:00
parent 049c27cdb7
commit 4e34f41ee0

View File

@ -26,8 +26,6 @@ export function SidebarSection({ title, children }: SidebarSectionProps) {
<div
ref={content}
style={{
maxHeight: isOpen ? `${content.current?.scrollHeight}px` : "0",
overflow: "hidden",
transition: "max-height 0.4s cubic-bezier(0, 1, 0, 1)",
position: "relative",
}}