Skip to content

Commit

Permalink
fix(FormField): rm outline (#6557)
Browse files Browse the repository at this point in the history
В сафари outline сабпиксельного размера плохо рендерится на некоторых устройствах

- https://bugs.webkit.org/show_bug.cgi?id=60749
- fixes #6556
  • Loading branch information
SevereCloud authored and actions-user committed Feb 13, 2024
1 parent 010b533 commit 0280168
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/vkui/src/components/FormField/FormField.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,6 @@
* useFocusVisibleClassName()
*/
/* increase specificity for selects */
.FormField--focus-visible.FormField--focus-visible.FormField--focus-visible {
outline: var(--vkui_internal--outline);
outline-width: var(--vkui--size_border--regular);
outline-offset: calc(-1 * var(--vkui--size_border--regular));
.FormField--focus-visible.FormField--focus-visible .FormField__border {
border-color: var(--vkui--color_stroke_accent);
}

0 comments on commit 0280168

Please sign in to comment.