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

chore: normalize buttons #1774

Merged
merged 3 commits into from
Aug 17, 2023
Merged

Conversation

luchaos
Copy link
Member

@luchaos luchaos commented Aug 17, 2023

One of the first components PRs extracted from the prototype/preview branch.

Normalize button usage:

  • No <input type="submit">
  • No <button type="submit"> (submit is implicit)
  • No implicit styling of <button> (relevant for upcoming PRs)
  • Buttons with JS handlers use type="button"

That's the third or fourth time I'm normalizing those buttons now 🤔
I hope this time it sticks 😅

Normalize button usage:
- No `<input type="submit">`
- No `<button type="submit">` (`submit` is implicit)
- No implicit styling of `<button>` (relevant for upcoming PRs)
@luchaos luchaos changed the title feat: normalize buttons chore: normalize buttons Aug 17, 2023
app/Helpers/render/layout.php Show resolved Hide resolved
public/gameInfo.php Outdated Show resolved Hide resolved
@luchaos luchaos merged commit b8ab4f9 into RetroAchievements:master Aug 17, 2023
5 checks passed
@luchaos luchaos deleted the port-button branch August 17, 2023 22:27
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