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

hugo-shortcode-gallery layout not working properly with Congo theme #335

Closed
sjohner opened this issue Oct 24, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@sjohner
Copy link

sjohner commented Oct 24, 2022

What happened?

I was able to setup a hugo-shortcode-gallery with congo but struggle with the layout of the gallery. Above a certain resolution (width > 1023px) somehow the images of the gallery do not align as intended. Instead of being displayed as a gallery, they are simply displayed one by one below each other and the rowHeight parameter has no effect on the gallery anymore. Below width 1024px the gallery works as expected (see screenshots below).

I guess it has something to do with these lines of CSS

.lg\:flex-row {
flex-direction: row;
}

Commenting them out seems to help but I'm not sure what else this will break :-) Can anyone shed more light on this?

193479867-48c8cedc-19ac-44ac-ad1d-af804365dfcd

193479893-8006094d-53ce-4caa-b20e-73a774deee2a

Theme version

v2.3.1

Hugo version

0.104.2+extended

What browsers are you seeing the problem on?

Firefox, Chrome, Safari

Relevant Hugo log output

No response

@sjohner sjohner added the bug Something isn't working label Oct 24, 2022
@jpanther
Copy link
Owner

jpanther commented Nov 8, 2022

Thanks for the report. I believe this is fixed by a84e004, which allows embedded content to fill the page area. Previously content was being truncated to the widest item on the page, which in your example is the text "Image Gallery 2022" and that is why the images are no wider than that text.

@jpanther jpanther closed this as completed Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants