[2.5] fix(whiteboard): border-radius of toolbar buttons #15009

This commit is contained in:
Joao Victor 2022-05-16 10:20:16 -03:00
parent e2f1fa7bbf
commit 7ff6f8750d
2 changed files with 7 additions and 8 deletions

View File

@ -81,14 +81,6 @@ const ToolbarButton = styled(Button)`
& > i {
color: ${toolbarListColor};
}
border-top-left-radius: 0;
border-top-right-radius: ${toolbarButtonBorderRadius};
[dir="rtl"] & {
border-top-left-radius: ${toolbarButtonBorderRadius};
border-top-right-radius: 0;
}
`}
`;

View File

@ -32,6 +32,13 @@ const ButtonWrapper = styled.div`
&:first-child > button {
border-top-left-radius: ${toolbarButtonBorderRadius};
border-bottom-left-radius: ${toolbarButtonBorderRadius};
[dir="rtl"] & {
border-top-right-radius: ${toolbarButtonBorderRadius};
border-bottom-right-radius: ${toolbarButtonBorderRadius};
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
}
`;