mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 09:15:41 +03:00
Add class to hide focus highlight
We use tabIndex to make elements selectable and therefore focused by screen readers. Doing this draws a blue border (in chrome at least) around the element - in some cases, we don't want this.
This commit is contained in:
parent
7a244b85c1
commit
47add75278
1 changed files with 4 additions and 0 deletions
|
@ -110,6 +110,10 @@ textarea {
|
||||||
color: $primary-fg-color;
|
color: $primary-fg-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_HiddenFocusable {
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
// .mx_textinput is a container for a text input
|
// .mx_textinput is a container for a text input
|
||||||
// + some other controls like buttons, ...
|
// + some other controls like buttons, ...
|
||||||
// it has the appearance of a text box so the controls
|
// it has the appearance of a text box so the controls
|
||||||
|
|
Loading…
Reference in a new issue