Skip to content

fix: resolve Subscribe button styling problems on Safari and Edge #629

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

Merged
merged 1 commit into from
Oct 15, 2020

Conversation

skirtles-code
Copy link
Contributor

Description of Problem

The original problem was reported in #556. On iOS, the Subscribe button was too short and has a gradient background.

There was an attempt at fixing the height in #625 but that has introduced problems in OSX Safari and recent versions of Edge.

iOS - the height has been fixed but the gradient remains:

gradient

Safari (same as Edge):

subscribe height

The original fix changed height to min-height. The problem on Safari/Edge is that the button's default height is too large, so a min-height doesn't do anything.

Proposed Solution

I believe the original problems can both be fixed using appearance: none.

The new problems can then be resolved by undoing #625.

I've tested across various platforms and as far as I can tell the button now has a consistent height and background.

@phanan phanan merged commit bcaf583 into vuejs:master Oct 15, 2020
@phanan
Copy link
Member

phanan commented Oct 15, 2020

Beautiful! Thanks for the fix!

nick-lai pushed a commit to nick-lai/docs-next that referenced this pull request Dec 2, 2020
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.

2 participants