Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

item taking two columns #77

Open
ceehaupt opened this issue Jul 22, 2020 · 4 comments
Open

item taking two columns #77

ceehaupt opened this issue Jul 22, 2020 · 4 comments

Comments

@ceehaupt
Copy link

Hi,

I just want to ask if it is possible with macy to have some items with a width of two columns like in isotope https://codepen.io/desandro/pen/mEinp ?

Best

@hrishikesh-k
Copy link

@ceehaupt

I am probably too late to answer, but, I just came here after implementing it on my website and had the same question. But, what a bummer. According to this issue #35, it's not possible and might never get implemented.

So, I gotta look for another library now, which is kinda disappointing as Macy had otherwise worked perfectly for me.

@hrishikesh-k
Copy link

Update, I just thought of a very simple solution and it works great for me. I added a child container to the one that's getting sized by Macy and set its width to 200%. Done.

@riadcitaku
Copy link

@hrishikesh-k is that being calculated? Mine is overflowing into the next item.

@hrishikesh-k
Copy link

@riadcitaku Yeah, it'll overflow into the next item. This library isn't designed to handle some item consuming 2 columns, so, the overflow is gonna happen and the next items aren't going to automatically adjust. It had worked in my case because the one I needed in 2 columns was supposed to be the last item in the row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants