Skip to content

Responsive vw font sizes & query columns flex layout with em margins. Alternatives? #37330

@Andrew-Starr

Description

@Andrew-Starr

What problem does this address?

In an attempt to provide responsive font sizes, I've noticed that using viewport width vw breaks the layout of the Query Loop columns in the Firefox browser.
Video here: #37295 (comment)

Examples of font sizes I have tried:

1.6vw
clamp( 1rem, 1.6vw, 1.5rem )
max( calc( 12px + 0.6vw ), 16px )

and many other variations each with a vw value, all break the query columns layout.

What is your proposed solution?

I don't have a definite solution.

Grid layout for the query loop?

Alternative to vw for providing responsive font sizes?

Would love to hear some alternative solutions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Browser IssuesIssues or PRs that are related to browser specific problemsCSS StylingRelated to editor and front end styles, CSS-specific issues.[Block] Query LoopAffects the Query Loop Block[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions