mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-02 16:23:48 +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
|
<div
|
||||||
ref={content}
|
ref={content}
|
||||||
style={{
|
style={{
|
||||||
maxHeight: isOpen ? `${content.current?.scrollHeight}px` : "0",
|
|
||||||
overflow: "hidden",
|
|
||||||
transition: "max-height 0.4s cubic-bezier(0, 1, 0, 1)",
|
transition: "max-height 0.4s cubic-bezier(0, 1, 0, 1)",
|
||||||
position: "relative",
|
position: "relative",
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user