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: dropdown item padding #5024

Merged
merged 1 commit into from
Mar 5, 2024
Merged

fix: dropdown item padding #5024

merged 1 commit into from
Mar 5, 2024

Conversation

kyranjamie
Copy link
Collaborator

@kyranjamie kyranjamie commented Mar 5, 2024

Building Leather at commit d2bfd3b

Apologies for some of the broken UI as result of migrating ItemInteractive to a pseudo background.

Spacing issues as a result of the pseudo hover element are easily remedied by a padded container. I've added some examples to storybook that help explain the reasoning behind the move. I'm pretty sure we'll have to add way fewer margin properties and generally have a more consistent UI not having to worry about the hover state border padding.

image

Copy link
Contributor

@pete-watters pete-watters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing, no problem for introducing.

Once I finish my current workload I'll prioritise getting some visual regression tests added as I find we are often introducing bugs like this

@pete-watters pete-watters added this pull request to the merge queue Mar 5, 2024
Merged via the queue into dev with commit f24f0a2 Mar 5, 2024
28 checks passed
@pete-watters pete-watters deleted the fix/dropdown branch March 5, 2024 10:30
@kyranjamie kyranjamie mentioned this pull request Mar 8, 2024
4 tasks
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

Successfully merging this pull request may close these issues.

3 participants