Skip to content

Commit 106cc0f

Browse files
feat(eui): change tooltip default font size to 12px
1 parent d3ecb4e commit 106cc0f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/eui/src/components/tool_tip/tool_tip.styles.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const euiToolTipStyles = (euiThemeContext: UseEuiTheme) => {
4444
${logicalCSS('max-width', '256px')}
4545
overflow-wrap: break-word;
4646
padding: ${euiTheme.size.s};
47-
${euiFontSize(euiThemeContext, 's')}
47+
${euiFontSize(euiThemeContext, 'xs')}
4848
4949
position: absolute;
5050
@@ -59,10 +59,6 @@ export const euiToolTipStyles = (euiThemeContext: UseEuiTheme) => {
5959
ease-out ${euiTheme.animation.fast} both;
6060
}
6161
`,
62-
// Sizes
63-
s: css`
64-
${euiFontSize(euiThemeContext, 'xs')}
65-
`,
6662
// Positions - kept for component compatibility. Animation is in the base style.
6763
top: css``,
6864
bottom: css``,

0 commit comments

Comments
 (0)