💄(react) remove modal content outline on focus
This was giving a strange look n feel, neither improving a11y.
This commit is contained in:
5
.changeset/chilled-badgers-cross.md
Normal file
5
.changeset/chilled-badgers-cross.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@openfun/cunningham-react": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
remove modal content outline on focus
|
||||||
@@ -62,6 +62,10 @@
|
|||||||
font-size: var(--c--components--modal--content-font-size);
|
font-size: var(--c--components--modal--content-font-size);
|
||||||
font-weight: var(--c--components--modal--content-font-weight);
|
font-weight: var(--c--components--modal--content-font-weight);
|
||||||
color: var(--c--components--modal--content-color);
|
color: var(--c--components--modal--content-color);
|
||||||
|
|
||||||
|
&:focus-visible {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__close {
|
&__close {
|
||||||
|
|||||||
Reference in New Issue
Block a user