Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
393 B
393 B
Preserve spaces between CSS words and embedded expression (#17398 by @sosukesuzuki)
// Input
const Heading = styled.h1`
font-size: var(--font-size-h${level});
`;
// Prettier stable
const Heading = styled.h1`
font-size: var(--font-size-h ${level});
`;
// Prettier main
const Heading = styled.h1`
font-size: var(--font-size-h${level});
`;