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:
Nan Yu
2021-12-13 13:21:03 -08:00
committed by GitHub
parent e1903c4016
commit 6f73cb4939
2 changed files with 7 additions and 4 deletions

View File

@@ -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)};
}
`};