justified-layout
justified-layout copied to clipboard
Pass in box sizes and get back sizes and coordinates for a justified layout
In my setup, I want to display panoramic photos and unfortunately they are squished if they are too wide. This PR adds the option to override the minimum and maximum...
Hi, since it looks like Travis CI is going to hell (https://news.ycombinator.com/item?id=25338983), I moved the CI to GitHub Actions. It does the same thing. I implemeted dependency caching so it...
Addresses #17
Hi! I have no idea why `nextToLastRowHeight` use `height` [here](https://github.com/flickr/justified-layout/blob/bc7450f0fe13048330a9eec154e1415da99c277a/lib/index.js#L153). In some case, it'll make box out of container. Here is the options ` { sizes: [ { width: 2000,...
I have an issue with full width boxes that pass the `fullWidthBreakoutRowCadence` condition. In my case I have all boxes with same aspect ratio (1.5), everything works fine until the...
Hey all! Wondering if there's a way to vary the row height. I'd like to have the first two rows be tall and the rest a fixed height. Thanks!
Is there a way to get the row number an item is on returned in the generated results?
So how would I get this deployed to work with Lychee on docker image running on unraid? I would VERY much like to mimic the flickr layout for stream and...
From https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/justified-layout/, props to @ArgonAlex and @liaujianjie