beyonk-group / gdpr-cookie-consent-banner

A GDPR compliant cookie consent banner implementation
MIT License
248 stars 42 forks source link

Add pointer cursor to toggles #61

Open jvolker opened 10 months ago

jvolker commented 10 months ago

Currently, the toggles are using the default cursor. To improve the UX I changed them to "pointer". Might be good to implement this by default.

<style>
    :global(.cookieConsentOperations__Item:not(.disabled) input+label::before, .cookieConsentOperations__Item:not(.disabled) input+label::after) {
        cursor: pointer;
    }

</style>
antony commented 6 months ago

I'm unsure what the correct type of cursor would be here, actually - but a pointer seems reasonable. If you want to open a PR for this change I'll merge it.