mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 05:24:55 +03:00
ench: remove maxHeight on sidebar section
This commit is contained in:
parent
049c27cdb7
commit
4e34f41ee0
@ -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",
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user