You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Environment
Code Sandbox
Link to a minimal repro (fork this code sandbox): TODO
Steps to reproduce
Due to this style:
blueprint/packages/core/src/components/popover/_popover-in-label.scss
Line 9 in 488658d
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.The text was updated successfully, but these errors were encountered: