Skip to content

Ensure page content fits the allocated width on a 1920×1080 screen #7096

Description

@rvisser7

I think that we should aim for the content on individual object pages to fit within the width allocated for the main content column, at least for the first couple sections on each page. This is probably impossible to guarantee for every screen size, but I think we should at least ensure it holds for most browsers at a default zoom on a 1920 x 1080 monitor (the most common resolution).

When it doesn't hold, the content gets pushed further down the page (often off-screen entirely), so at a first glance it looks like the data is missing.

E.g. On some Galois group pages, the "Group action invariants" section appears empty, as everything is pushed down off-screen. We should ideally give a shorter cut-off for wrapping the generators, or be truncated with the full data available as a knowl (e.g. what we often do for displaying very large integers). Checking https://beta.lmfdb.org/GaloisGroup/46T3, here is what I see using Chrome on Windows at default zoom on a 1920 x 1080 screen:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions