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

Dividers in equal heights component don't work well when items are hidden on smaller screens #5062

Closed
bartaz opened this issue Apr 24, 2024 · 1 comment
Labels
Bug 🐛 Feature 🎁 New feature or request

Comments

@bartaz
Copy link
Contributor

bartaz commented Apr 24, 2024

When equal height component is used with has-3rd-divider and we use u-hide--medium to hide one of the column items, the divider appears on medium screen below last item:

image (1)

It's caused by the fact that we are expecting to have 3 elements in right column (but we only have 2 - with one of those hidden).

The dividers being tied up to the container element and grid position, they can't be automatically aware if any items are hidden on small screens.

We need to find a solution to allow flexible adding dividers on specific breakpoints.

@bartaz
Copy link
Contributor Author

bartaz commented Apr 30, 2024

@bartaz bartaz closed this as completed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 Feature 🎁 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant