fix: various bugs on draft sidebar items (#2856)
- show children when the only child is the active draft - disable drop onto draft items - fix danger button hover color
This commit is contained in:
@@ -72,7 +72,7 @@ const RealButton = styled.button<{
|
||||
fill: ${props.iconColor || props.theme.buttonNeutralText};
|
||||
}`
|
||||
}
|
||||
|
||||
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: ${
|
||||
@@ -100,7 +100,7 @@ const RealButton = styled.button<{
|
||||
background: ${props.theme.danger};
|
||||
color: ${props.theme.white};
|
||||
|
||||
&:hover {
|
||||
&:hover:not(:disabled) {
|
||||
background: ${darken(0.05, props.theme.danger)};
|
||||
}
|
||||
`};
|
||||
|
||||
Reference in New Issue
Block a user