I have the following code
const Control = styled.div`
display: flex;
`;
const ControlGroup = styled.div`
display: flex;
> ${Control}:not(:first-child) {
margin-left: 12px;
}
`;
After formatting, the output is
const ControlGroup = styled.div`
display: flex;
> ${Control}
:not(:first-child) {
margin-left: 12px;
}
The new line introduced changes the selector to children of Control.
I have the following code
After formatting, the output is
The new line introduced changes the selector to children of
Control.