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

fix(ui5-flexible-column-layout): adjust grip minimum target size #10743

Merged
merged 2 commits into from
Feb 4, 2025

Conversation

NakataCode
Copy link
Contributor

@NakataCode NakataCode commented Feb 2, 2025

  • Problem:
    The grip did not meet the minimum target size requirements.

  • Solution:
    Add a container div around the grip icon to control the minimum target size, setting it to 1.5rem width and 2rem height.

  • Explanation:
    Restructured the grip to handle width and height at the div level instead of the icon because the .ui5-icon-root class (which gets automatically applied to icons) sets width and height to 100%. Applying the dimensions directly to the icon would cause it to stretch and fill the entire available space, distorting its proportions.

Fixes: #10669

@NakataCode NakataCode marked this pull request as ready for review February 2, 2025 18:17
@vladitasev
Copy link
Contributor

I'm not sure if it's an issue, but the new "grip area" is now invisible horizontally, and overlaps the content, but vertically it pushes the graphical elements a few pixels up and down:

image

But maybe it's the intended design. Just double-check please

@NakataCode NakataCode merged commit aa58291 into main Feb 4, 2025
10 checks passed
@NakataCode NakataCode deleted the fcl-minimum-target-size branch February 4, 2025 12:16
@ui5-webcomponents-bot
Copy link
Collaborator

🎉 This PR is included in version v2.8.0-rc.0 🎉

The release is available on v2.8.0-rc.0

Your semantic-release bot 📦🚀

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