mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
not optional pixel ratio
This commit is contained in:
parent
c71ad00f1a
commit
3587c599ac
|
@ -29,7 +29,7 @@ export default function StyledComponentsRegistry({
|
||||||
}
|
}
|
||||||
|
|
||||||
const BodyWithPixelRatio = styled.body<{
|
const BodyWithPixelRatio = styled.body<{
|
||||||
$pixel?: number;
|
$pixel: number;
|
||||||
}>`
|
}>`
|
||||||
--device-pixel: calc(1px / ${(props) => props.$pixel});
|
--device-pixel: calc(1px / ${(props) => props.$pixel});
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in a new issue