mazipan / tanyaaja.in

❓Kumpulkan pertanyaan secara anonim dari siapa saja dengan mudah
https://tanyaaja.in
MIT License
134 stars 36 forks source link

Layout for question card is not balanced #55

Closed mazipan closed 11 months ago

mazipan commented 11 months ago

Describe the bug Layout is not balanced when there are questions with different height in a single row

To Reproduce Steps to reproduce the behavior:

  1. Go to https://www.tanyaaja.in/account
  2. Check question card

Expected behavior

Either we move the button to the very bottom (something like justify-between for flex-col)

Or make it as we usually call: Mansory Card

Screenshots

Screenshot 2023-10-13 at 11 19 41
amarangganar commented 11 months ago

I want to take this one 🙋‍♀️

amarangganar commented 11 months ago

If we were to take the masonry layout approach, is it okay to use third-party package? It would be nice if grid-template-rows: masonry already supports all browsers but since it hasn't, I don't think it's possible to handle it with pure CSS.

Moving the button to the very bottom is easier though 🤭