fix: Chevron icon styling

This commit is contained in:
blessedcoolant 2023-07-21 01:21:04 +12:00
parent e06348bfab
commit e2240feae4

View File

@ -118,11 +118,16 @@ const ControlNet = (props: ControlNetProps) => {
tooltip={isExpanded ? 'Hide Advanced' : 'Show Advanced'}
aria-label={isExpanded ? 'Hide Advanced' : 'Show Advanced'}
onClick={toggleIsExpanded}
variant="link"
variant="ghost"
sx={{
_hover: {
bg: 'none',
},
}}
icon={
<ChevronUpIcon
sx={{
boxSize: 6,
boxSize: 4,
color: 'base.700',
transform: isExpanded ? 'rotate(0deg)' : 'rotate(180deg)',
transitionProperty: 'common',