Add rule to order css in styled components alphabetically (#284)
* Add plugin * Run plugin
This commit is contained in:
@ -1,15 +1,15 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
const StyledLayout = styled.div`
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: fit-content;
|
||||
height: fit-content;
|
||||
|
||||
padding: 20px;
|
||||
background: ${(props) => props.theme.primaryBackground};
|
||||
border-radius: 5px;
|
||||
box-shadow: 0px 0px 2px;
|
||||
display: flex;
|
||||
|
||||
flex-direction: row;
|
||||
height: fit-content;
|
||||
padding: 20px;
|
||||
width: fit-content;
|
||||
`;
|
||||
|
||||
type OwnProps = {
|
||||
|
||||
@ -3,8 +3,8 @@ import styled from '@emotion/styled';
|
||||
const StyledLayout = styled.div`
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
width: calc(100vw - 32px);
|
||||
height: calc(100vh - 32px);
|
||||
width: calc(100vw - 32px);
|
||||
`;
|
||||
|
||||
type OwnProps = {
|
||||
|
||||
Reference in New Issue
Block a user