not optional pixel ratio

This commit is contained in:
Corwin 2024-04-30 02:16:42 +01:00
parent c71ad00f1a
commit 3587c599ac
No known key found for this signature in database

View file

@ -29,7 +29,7 @@ export default function StyledComponentsRegistry({
}
const BodyWithPixelRatio = styled.body<{
$pixel?: number;
$pixel: number;
}>`
--device-pixel: calc(1px / ${(props) => props.$pixel});
`;