Skip to content

Commit

Permalink
chore: update ui
Browse files Browse the repository at this point in the history
  • Loading branch information
hongfaqiu committed Oct 30, 2024
1 parent 49471d1 commit eb249f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/components/ControlPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'};
Expand Down

0 comments on commit eb249f9

Please sign in to comment.