mirror of
https://github.com/strapi/strapi.git
synced 2025-09-28 01:40:11 +00:00
removed unnecessary comment + fixed chevron stuck with active style because of focus-within
This commit is contained in:
parent
c45ed576a1
commit
fbf816821d
@ -59,10 +59,6 @@ const BoxWrapper = styled.div`
|
|||||||
&:hover {
|
&:hover {
|
||||||
${({ theme, isActive }) => activeRowStyle(theme, isActive)}
|
${({ theme, isActive }) => activeRowStyle(theme, isActive)}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus-within {
|
|
||||||
${({ theme, isActive }) => activeRowStyle(theme, isActive)}
|
|
||||||
}
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Cell = styled(Flex)`
|
const Cell = styled(Flex)`
|
||||||
|
@ -6,9 +6,6 @@ const CarretIcon = styled(CarretDown)`
|
|||||||
width: ${10 / 16}rem;
|
width: ${10 / 16}rem;
|
||||||
transform: rotate(${({ $isActive }) => ($isActive ? '180' : '0')}deg);
|
transform: rotate(${({ $isActive }) => ($isActive ? '180' : '0')}deg);
|
||||||
margin-left: ${({ theme }) => theme.spaces[2]};
|
margin-left: ${({ theme }) => theme.spaces[2]};
|
||||||
/* * {
|
|
||||||
fill: ${({ theme }) => theme.colors.primary600};
|
|
||||||
} */
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export default CarretIcon;
|
export default CarretIcon;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user