mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix: Chevron icon styling
This commit is contained in:
parent
e06348bfab
commit
e2240feae4
@ -118,11 +118,16 @@ const ControlNet = (props: ControlNetProps) => {
|
|||||||
tooltip={isExpanded ? 'Hide Advanced' : 'Show Advanced'}
|
tooltip={isExpanded ? 'Hide Advanced' : 'Show Advanced'}
|
||||||
aria-label={isExpanded ? 'Hide Advanced' : 'Show Advanced'}
|
aria-label={isExpanded ? 'Hide Advanced' : 'Show Advanced'}
|
||||||
onClick={toggleIsExpanded}
|
onClick={toggleIsExpanded}
|
||||||
variant="link"
|
variant="ghost"
|
||||||
|
sx={{
|
||||||
|
_hover: {
|
||||||
|
bg: 'none',
|
||||||
|
},
|
||||||
|
}}
|
||||||
icon={
|
icon={
|
||||||
<ChevronUpIcon
|
<ChevronUpIcon
|
||||||
sx={{
|
sx={{
|
||||||
boxSize: 6,
|
boxSize: 4,
|
||||||
color: 'base.700',
|
color: 'base.700',
|
||||||
transform: isExpanded ? 'rotate(0deg)' : 'rotate(180deg)',
|
transform: isExpanded ? 'rotate(0deg)' : 'rotate(180deg)',
|
||||||
transitionProperty: 'common',
|
transitionProperty: 'common',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user