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:
parent
9c191c255f
commit
da1e4d9a99
@ -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)
|
||||
|
@ -544,6 +544,7 @@ Contributors
|
||||
* Jane Liu
|
||||
* Joe Howard
|
||||
* Jochen Wersdörfer
|
||||
* Sakshi Uppoor
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
======================
|
||||
|
Loading…
Reference in New Issue
Block a user