forked from GoogleWebComponents/google-recaptcha
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eb89618
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had to tweak styles above to get the demo to show something a little bit less unpolished:
Is this leaking styling into the wrong places? Having to add that
style="display: inline-block; padding-top: 2px; padding-left: 2px;
to the google-recaptcha element to fix the padding of the red "invalid" border set off some alarm bells. (Without this, the red border around the recaptcha would have asymmetrical padding and take up the full width of the container.)Not sure how much of this should be left to users to add vs. provided out of the box.
eb89618
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just remembered @cbalit's "maybe it will be nice to add a css mixin" and not sure what that would look like but sounds like it might address exactly the concerns I was just raising?