diff --git a/src/ButtonStyles.js b/src/ButtonStyles.js index 98db3f21b70..d0133010ca1 100644 --- a/src/ButtonStyles.js +++ b/src/ButtonStyles.js @@ -24,11 +24,6 @@ export default css` outline: none; } - &:focus, - &:active { - z-index: 1; - } - &:disabled { cursor: default; } diff --git a/src/__tests__/__snapshots__/Button.js.snap b/src/__tests__/__snapshots__/Button.js.snap index 5e05be29c2c..32fcd30db9a 100644 --- a/src/__tests__/__snapshots__/Button.js.snap +++ b/src/__tests__/__snapshots__/Button.js.snap @@ -36,11 +36,6 @@ exports[`Button respects the "disabled" prop 1`] = ` outline: none; } -.c0:focus, -.c0:active { - z-index: 1; -} - .c0:disabled { cursor: default; } @@ -109,11 +104,6 @@ exports[`ButtonDanger renders correct disabled styles 1`] = ` outline: none; } -.c0:focus, -.c0:active { - z-index: 1; -} - .c0:disabled { cursor: default; } @@ -185,11 +175,6 @@ exports[`ButtonOutline renders correct disabled styles 1`] = ` outline: none; } -.c0:focus, -.c0:active { - z-index: 1; -} - .c0:disabled { cursor: default; } @@ -261,11 +246,6 @@ exports[`ButtonPrimary renders correct disabled styles 1`] = ` outline: none; } -.c0:focus, -.c0:active { - z-index: 1; -} - .c0:disabled { cursor: default; } diff --git a/src/__tests__/__snapshots__/Dropdown.js.snap b/src/__tests__/__snapshots__/Dropdown.js.snap index d4659409279..b21fa7442f7 100644 --- a/src/__tests__/__snapshots__/Dropdown.js.snap +++ b/src/__tests__/__snapshots__/Dropdown.js.snap @@ -36,11 +36,6 @@ exports[`Dropdown matches the snapshots 1`] = ` outline: none; } -.c2:focus, -.c2:active { - z-index: 1; -} - .c2:disabled { cursor: default; } @@ -145,11 +140,6 @@ exports[`Dropdown matches the snapshots 2`] = ` outline: none; } -.c2:focus, -.c2:active { - z-index: 1; -} - .c2:disabled { cursor: default; }