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

fix: Anchors should not have type="button" #3086

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

SychO9
Copy link
Member

@SychO9 SychO9 commented Sep 29, 2021

Closes #3085

Changes proposed in this pull request:
#3015 introduced button appearance for any type="button" element, which doesn't affect styling for most browsers, except for iOS Safari, the styling only affects anchors with type="button". Our LinkButton component extends the Button component which has a type attribute that defaults to button, which is unnecessary for anchors anyway.

Confirmed

  • Frontend changes: tested on a local Flarum installation.

@askvortsov1 askvortsov1 merged commit e2f01c0 into master Sep 29, 2021
@askvortsov1 askvortsov1 deleted the sm/dropdown-item-button-appearance branch September 29, 2021 15:30
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.

3 participants