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

Off-Centre radio buttons when zooming #863

Open
kclark-scottlogic opened this issue Mar 14, 2024 · 2 comments
Open

Off-Centre radio buttons when zooming #863

kclark-scottlogic opened this issue Mar 14, 2024 · 2 comments
Labels
bug Something isn't working frontend Requires work on the frontend

Comments

@kclark-scottlogic
Copy link
Contributor

kclark-scottlogic commented Mar 14, 2024

As you zoom in and out, our custom-styled radio button become off-centred.

The CSS for these is a touch over-engineered, and can be simplified with just a ::before pseudo element.

Here is a very nice guide:
https://moderncss.dev/pure-css-custom-styled-radio-buttons/

@kclark-scottlogic kclark-scottlogic added bug Something isn't working frontend Requires work on the frontend labels Mar 14, 2024
@kclark-scottlogic
Copy link
Contributor Author

@chriswilty Ta-da

@chriswilty
Copy link
Member

Doro tried it, didn't work 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend Requires work on the frontend
Projects
None yet
Development

No branches or pull requests

2 participants