Add rule to order css in styled components alphabetically (#284)
* Add plugin * Run plugin
This commit is contained in:
@ -6,25 +6,25 @@ export const DropdownMenuButton = styled.div`
|
||||
--horizontal-padding: ${(props) => props.theme.spacing(1.5)};
|
||||
--vertical-padding: ${(props) => props.theme.spacing(2)};
|
||||
|
||||
padding: var(--vertical-padding) var(--horizontal-padding);
|
||||
align-items: center;
|
||||
|
||||
width: calc(100% - 2 * var(--horizontal-padding));
|
||||
height: calc(32px - 2 * var(--vertical-padding));
|
||||
border-radius: ${(props) => props.theme.borderRadius};
|
||||
color: ${(props) => props.theme.text60};
|
||||
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
font-size: ${(props) => props.theme.fontSizeSmall};
|
||||
|
||||
gap: ${(props) => props.theme.spacing(2)};
|
||||
|
||||
border-radius: ${(props) => props.theme.borderRadius};
|
||||
height: calc(32px - 2 * var(--vertical-padding));
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
user-select: none;
|
||||
padding: var(--vertical-padding) var(--horizontal-padding);
|
||||
|
||||
${hoverBackground};
|
||||
|
||||
color: ${(props) => props.theme.text60};
|
||||
font-size: ${(props) => props.theme.fontSizeSmall};
|
||||
user-select: none;
|
||||
width: calc(100% - 2 * var(--horizontal-padding));
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user