Skip to content

zoom affects resolution #1

@ryanve

Description

@ryanve

devicePixelRatio and @media (resolution) are zoom-relative on desktops but static on phones. res should correlate to the media query behavior. res 0.1 calculates resolution at runtime and its methods returned the cached results. This is problematic because methods may not match the media queries depending on the zoom. We'll have to calculate each time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions