Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Fix the Button cursor #419

Merged
merged 3 commits into from
Mar 27, 2022
Merged

Fix the Button cursor #419

merged 3 commits into from
Mar 27, 2022

Conversation

emersonlaurentino
Copy link
Member

@emersonlaurentino emersonlaurentino commented Mar 24, 2022

What's the purpose of this pull request?

For some reason, the button has a default cursor, but the "normal" button cursor is a pointer and not the default.

How does it work?

Tell us the role of the new feature, or component, in its context.

How to test it?

Describe the steps with bullet points. Is there any external reference, link, or example?

References

Spread the knowledge: is this any content you used to create this PR that is worth sharing?

Extra tip: add references to related issues or mention people important to this PR may be good for the documentation and reviewing process

Checklist

You may erase this after checking them all ;)

  • CHANGELOG entry added

@emersonlaurentino emersonlaurentino self-assigned this Mar 24, 2022
@netlify
Copy link

netlify bot commented Mar 24, 2022

Deploy Preview for basestore ready!

Name Link
🔨 Latest commit e8a864a
🔍 Latest deploy log https://app.netlify.com/sites/basestore/deploys/623e0feed962910008e57124
😎 Deploy Preview https://deploy-preview-419--basestore.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@gatsby-cloud
Copy link

gatsby-cloud bot commented Mar 24, 2022

Gatsby Cloud Build Report

basestore

🎉 Your build was successful! See the Deploy preview here.

Build Details

View the build logs here.

🕐 Build time: 6m

Performance

Lighthouse report

Metric Score
Performance 💚 96
Accessibility 💚 100
Best Practices 💚 100
SEO 💚 93

🔗 View full report

Copy link
Contributor

@hellofanny hellofanny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested on chrome and safari.

  • Sign In: is a link, and cursor: pointer
  • Cart Toggle: button, and cursor: default
hover-link-button.mov

LGTM 🚀! Nice suggestion! Using this approach, we are leaving the responsibility of choosing the cursor for the browser, and it seems like it's following the W3C recommendation.

@vtex-sites
Copy link

vtex-sites bot commented Mar 25, 2022

Preview is ready

This pull request generated a Preview

👀   Preview: https://preview-419--base.preview.vtex.app
🔬   Go deeper by inspecting the Build Logs
📝   based on commit 7caced1

@emersonlaurentino emersonlaurentino merged commit 7caced1 into master Mar 27, 2022
@emersonlaurentino emersonlaurentino deleted the fix/button-cursor branch March 27, 2022 23:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants