ScottLogic / prompt-injection

Application which investigates defensive measures against prompt injection attacks on an LLM, with a focus on the exposure of external tools.
MIT License
13 stars 9 forks source link

Off-Centre radio buttons when zooming #863

Open kclark-scottlogic opened 4 months ago

kclark-scottlogic commented 4 months ago

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 commented 4 months ago

@chriswilty Ta-da

chriswilty commented 4 months ago

Doro tried it, didn't work 😢