fix(client): cursor on privacy settings (#57915)

This commit is contained in:
Tom
2025-01-06 09:17:03 -06:00
committed by GitHub
parent 053b7503ae
commit be6736f5df
2 changed files with 6 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ export default function ToggleRadioSetting({
{explain ? <p id={`desc${flagName}`}>{explain}</p> : null}
</div>
<div className='toggle-radio-group'>
<label htmlFor={firstRadioId}>
<label className={!flag ? 'not-checked' : ''} htmlFor={firstRadioId}>
<input
id={firstRadioId}
type='radio'
@@ -52,7 +52,7 @@ export default function ToggleRadioSetting({
<span className='custom-circle'></span>
<span>{onLabel}</span>
</label>
<label htmlFor={secondRadioId}>
<label className={flag ? 'not-checked' : ''} htmlFor={secondRadioId}>
<input
id={secondRadioId}
type='radio'

View File

@@ -75,6 +75,10 @@
margin-inline-start: 2rem;
}
.toggle-radio-group label.not-checked {
cursor: pointer;
}
.toggle-radio-group input {
position: absolute;
left: -9999px;