Skip to content

[Bug] - grid layout / .grid-container will overflow if in a space less than 250 px #267

@tryoxiss

Description

@tryoxiss

What bug did you find in the codebase?

If the grid container is placed in a container which is less than 250px wide, it will overflow and create horizontal scrolling of the viewport. While not a major problem with 250px, it is relatively likely for one to customise these snippets and it can easily case problems if the size is increased.

To fix this, 250px can just be replaced with min(250px, 100%). This will have identical behavour above the threashold, but below it the grid will instead create one column filling its entire container.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy