mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-22 07:06:41 +11:00
not optional pixel ratio
This commit is contained in:
parent
c71ad00f1a
commit
3587c599ac
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export default function StyledComponentsRegistry({
|
|||
}
|
||||
|
||||
const BodyWithPixelRatio = styled.body<{
|
||||
$pixel?: number;
|
||||
$pixel: number;
|
||||
}>`
|
||||
--device-pixel: calc(1px / ${(props) => props.$pixel});
|
||||
`;
|
||||
|
|
Loading…
Add table
Reference in a new issue