From eb249f96ccf335f10239064b870fac45750759ec Mon Sep 17 00:00:00 2001 From: hongfaqiu <951142905@qq.com> Date: Wed, 30 Oct 2024 21:51:58 +0800 Subject: [PATCH] chore: update ui --- example/src/components/ControlPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/components/ControlPanel.tsx b/example/src/components/ControlPanel.tsx index 953519b..dc44269 100644 --- a/example/src/components/ControlPanel.tsx +++ b/example/src/components/ControlPanel.tsx @@ -85,7 +85,7 @@ const CollapseButton = styled.div<{ $collapsed: boolean }>` `; const CardContent = styled.div<{ $collapsed: boolean }>` - max-height: ${props => props.$collapsed ? '0' : 'calc(100vh - 150px)'}; + max-height: ${props => props.$collapsed ? '0' : 'calc(100vh - 300px)'}; overflow: auto; transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out; padding: ${props => props.$collapsed ? '0 12px' : '12px'};