react-masonry-css icon indicating copy to clipboard operation
react-masonry-css copied to clipboard

Add feature to make all tiles on the last row line up at the bottom.

Open romiem opened this issue 7 years ago • 1 comments

Is this possible using this library? I've attached a diagram showing what I mean.

Frame 1

romiem avatar Oct 10 '19 14:10 romiem

It should be possible, though outside of what we'd consider stable or for documentation.

So, under the hood this plugin wraps a div around each column. You could add various flex CSS rules to both the container and your columns and then flex-grow: 1 the last child.

Does that give you enough info to point you in the right direction?

On Thu, Oct 10, 2019 at 7:04 AM romiem [email protected] wrote:

Is this possible using this library? I've attached a diagram showing what I mean.

[image: Frame 1] https://user-images.githubusercontent.com/639983/66576237-41d6bc80-eb6f-11e9-9fec-861ad91f1e97.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/paulcollett/react-masonry-css/issues/38?email_source=notifications&email_token=AAORBBULLZSK2CAFFJRS2FTQN4Y7NA5CNFSM4I7NNDXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HQ6F4YQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAORBBVH5Y7COLJXLTUB3OTQN4Y7NANCNFSM4I7NNDXA .

paulcollett avatar Oct 16 '19 02:10 paulcollett