Login
You're viewing the front-end.social public feed.

Replies

  • Sep 30, 2024, 3:26 PM

    @stubbornella I wrote a comment on the GitHub thread inspired by your talk.

    But I +1 most of the things that were asked for. Except I don’t *really* agree masonry can flow both horizontally *and* vertically.

    That said, there should be a way to tightly pack arbitrary sized elements and ignore widths too.

    Also, hybrid grid+masonry where only some columns have aligned rows is also an idea that is useful.

    💬 3🔄 0⭐ 1
  • Sep 30, 2024, 3:28 PM

    @stubbornella Imagine a grid of mostly images but with a few cards of links/controls. On a large screen I’d want those cards in a side column “packed” in a masonry. But on small screens I’d want to drop that side column and put the cards within the grid itself.

    💬 0🔄 0⭐ 1
  • 💬 1🔄 0⭐ 0
  • Oct 1, 2024, 1:36 AM

    @stubbornella Actually, let me make that a request:

    If this was possible in grid:

    grid-row: span fit-content
    grid-column: span fill-content?
    (Span as many rows as needed to fit the content)

    Then a lot of masonry could be done with grid layout itself. But it also makes a lot of other layouts possible too.

    💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 1