From 3583913583cbd4a2deb7a812f3edc6aa412a45d1 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Thu, 4 Oct 2018 19:02:59 +0200 Subject: [PATCH] fix(button-toggle): remove extra focus indication added by firefox (#13367) Resets the extra focus indication that Firefox adds on top of our custom indication. --- src/lib/button-toggle/button-toggle.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/button-toggle/button-toggle.scss b/src/lib/button-toggle/button-toggle.scss index b814d720c86..4ec76087426 100644 --- a/src/lib/button-toggle/button-toggle.scss +++ b/src/lib/button-toggle/button-toggle.scss @@ -151,4 +151,9 @@ $mat-button-toggle-legacy-border-radius: 2px !default; .mat-button-toggle-disabled & { cursor: default; } + + // Remove the extra focus outline that is added by Firefox on native buttons. + &::-moz-focus-inner { + border: 0; + } }