mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(toggle): fixed disabled toggle color in dark and high contrast modes. (#7518)
* fix(toggle): fixed disabled toggle color in dark and high contrast modes. * fix(switch): fixed switch color in dark and high contrast modes. * fix(switch): fixed switch in LDAP secion. * fix(switch): corrected the blue color of Switch in dark and high contrast themes.
This commit is contained in:
parent
7edcfd6eab
commit
ad3f4ff711
3 changed files with 10 additions and 2 deletions
|
@ -49,7 +49,7 @@ export function Switch({
|
|||
disabled={disabled || limitedToBE}
|
||||
onChange={({ target: { checked } }) => onChange(checked)}
|
||||
/>
|
||||
<span className="slider round" data-cy={dataCy} />
|
||||
<span className="slider round before:content-['']" data-cy={dataCy} />
|
||||
</label>
|
||||
{limitedToBE && <BEFeatureIndicator featureId={featureId} />}
|
||||
</>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue