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

.bp5-popover-target inside label.bp5-label given unnecessary 5px top margin #6795

Open
evansjohnson opened this issue May 14, 2024 · 0 comments

Comments

@evansjohnson
Copy link
Contributor

Environment

  • Package version(s): blueprint 5
  • Operating System: n/a
  • Browser name and version: n/a

Code Sandbox

Link to a minimal repro (fork this code sandbox): TODO

Steps to reproduce

Due to this style:

Actual behavior

5px top margin always added to popover targets inside labels

Expected behavior

This top margin should either not be applied as a Blueprint default, or only be applied when relevant. Ex if a popover target is the only or first element in a label, this style is likely undesirable.

Possible solution

Remove, or otherwise make more targeted (perhaps at least :not(:first-child)), this top margin in a major version of Blueprint as this will be a breaking change.

The :not(:first-child) targeting still would not help with the case where a popover target is being placed inline next to an element in a label.

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

1 participant