0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 19:17:48 +01:00

Fix toggle switch bug in high-contrast mode (#7561)

Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
This commit is contained in:
Sakshi Uppoor 2021-10-09 03:02:55 +05:30 committed by GitHub
parent 9c191c255f
commit da1e4d9a99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 0 deletions

View File

@ -66,6 +66,7 @@ Changelog
* Fix: Only show active (not disabled) tasks in the workflow task chooser (LB Johnston)
* Fix: CSS build scripts now output to the correct directory paths on Windows (Vince Salvino)
* Fix: Capture log output from style fallback to avoid noise in unit tests (Matt Westcott)
* Fix: Switch widgets on/off states are now visually different for high-contrast mode users (Sakshi Uppoor)
2.14.1 (12.08.2021)

View File

@ -544,6 +544,7 @@ Contributors
* Jane Liu
* Joe Howard
* Jochen Wersdörfer
* Sakshi Uppoor
Translators
===========

View File

@ -38,11 +38,13 @@ $switch-color-middle-grey: #777;
}
&::after {
box-sizing: border-box;
position: absolute;
top: 50%;
transform: translate($switch-border, -50%);
height: $switch-height;
width: $switch-height;
border: $switch-border solid $color-white;
border-radius: 50%;
background-color: $color-white;
}

View File

@ -84,6 +84,7 @@ Bug fixes
* Add full support for custom ``edit_handler`` usage by adding missing ``bind_to`` call to ``PreviewOnEdit`` view (Stefan Hammer)
* CSS build scripts now output to the correct directory paths on Windows (Vince Salvino)
* Capture log output from style fallback to avoid noise in unit tests (Matt Westcott)
* Switch widgets on/off states are now visually different for high-contrast mode users (Sakshi Uppoor)
Upgrade considerations
======================