File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed
src/global_styling/utility Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,6 @@ exports[`global utility styles generates static global styles 1`] = `
1919 // Chrome requires the negative margin to not cause overflows of parent containers
2020 margin : - 1px ;
2121;}
22- .eui-isFocusable:focus{
23- outline : 2px solid currentColor ;
24- outline - offset : calc (2px / - 2 );;
25-
26- // 👀 Chrome respects :focus-visible and allows coloring the \`auto\` style
27- & :focus - visible {
28- outline-style: auto ;
29- }
30-
31- // 🙅♀️ But Chrome also needs to have the outline forcefully removed from regular \`:focus\` state
32- & :not (:focus - visible ) {
33- outline: none ;
34- }
35- ;}
3622.eui-alignBaseline{ vertical - align :baseline ! important ;}
3723.eui-alignBottom{ vertical - align :bottom ! important ;}
3824.eui-alignMiddle{ vertical - align :middle ! important ;}
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import { Global, css } from '@emotion/react';
1212import { useEuiTheme , UseEuiTheme } from '../../services/theme/hooks' ;
1313import { euiScreenReaderOnly } from '../../components/accessibility/screen_reader_only/screen_reader_only.styles' ;
1414import {
15- euiFocusRing ,
1615 euiFullHeight ,
1716 euiTextBreakWord ,
1817 euiTextTruncate ,
@@ -32,10 +31,6 @@ export const globalStyles = (euiThemeContext: UseEuiTheme) => {
3231 .euiScreenReaderOnly {
3332 ${ euiScreenReaderOnly ( ) }
3433 }
35- .eui-isFocusable : focus {
36- // Forcing focus ring on non-EUI elements
37- ${ euiFocusRing ( euiThemeContext ) }
38- }
3934
4035 // Vertical alignment
4136 .eui-alignBaseline {
You can’t perform that action at this time.
0 commit comments