Join GitHub today
fix: prevent tooltip span from wrapping input element #3499
I currently struggle with the "Create an account" checkbox because it resides within the
I expect that similar form inputs throughout the Give form would have identical markup to ensure simple and consistent styling with minimal CSS.
It's not clear to me yet why this function results in the
It seems this is actually intentional in order to trigger a tooltip directly on the checkbox, but (1) it's just not awesome markup; (2) it creates style problems. See Visuals below for an example.
I think in order to show that Registration is "required", we should instead customize the
Additionally, I don't believe the hint.css requires that the element be a
Ideally a simple fix to that function will result in this markup:
changed the title
fix(form) Prevent tooltip span from wrapping input element
Oct 10, 2018
@kevinwhoffman I checked the suggested markup for tool-tip and here is the scenario for that.
Below is the new/current markeup
Please let me know your thoughts on this.