mirror of
https://github.com/suitenumerique/meet.git
synced 2026-08-06 17:07:46 +00:00
💄(frontend) show pointer cursor on interactive switches
Set the cursor to a pointer on Switch components when they are actually interactive, so it is visually clear that they can be toggled.
This commit is contained in:
committed by
aleb_the_flash
parent
00a2bd9558
commit
b7892431be
@@ -45,6 +45,7 @@ and this project adheres to
|
||||
- 🩹(all) clear the SonarCloud reliability finding and the lint debt
|
||||
- 🐛(frontend) stop the installed app reopening the room it came from
|
||||
- 🐛(backend) serialize lazy title in summary payload
|
||||
- 💄(frontend) show pointer cursor on interactive switches
|
||||
|
||||
## [1.24.0] - 2026-07-21
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ const StyledSwitch = styled(RACSwitch, {
|
||||
alignItems: 'center',
|
||||
gap: '0.571rem',
|
||||
color: 'black',
|
||||
cursor: 'pointer',
|
||||
forcedColorAdjust: 'none',
|
||||
'& .indicator': {
|
||||
position: 'relative',
|
||||
@@ -80,6 +81,9 @@ const StyledSwitch = styled(RACSwitch, {
|
||||
transition: 'opacity 10ms',
|
||||
transitionDelay: '0ms',
|
||||
},
|
||||
'&[data-disabled]': {
|
||||
cursor: 'not-allowed',
|
||||
},
|
||||
'&[data-disabled] .indicator': {
|
||||
borderColor: 'primary.200',
|
||||
background: 'transparent',
|
||||
|
||||
Reference in New Issue
Block a user