Skip to content

Commit a3ad620

Browse files
authored
[Lens] Fix issue where "Elastic UI Numeric" font is applied to portals outside of Lens (elastic#261168)
## Summary Fix issue where `"Elastic UI Numeric"` font is applied to portals outside of Lens e.g. fields overview popover in Discover or Datepicker popover. (The monospaced font `"Elastic UI Numeric"` is added in elastic#251576) Before <img width="1237" height="997" alt="image" src="https://github.com/user-attachments/assets/0f140778-44fe-4644-ab3d-e19e71507c69" /> After <img width="1239" height="997" alt="image" src="https://github.com/user-attachments/assets/256f4288-aa7d-4809-b623-bc1cae464c2f" />
1 parent 86b2e03 commit a3ad620

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

x-pack/platform/plugins/shared/lens/public/expression_renderer_styles.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ export const lnsExpressionRendererStyle = (euiThemeContext: UseEuiTheme) => {
4040
* These elements are rendered outside the Lens DOM tree and need global targeting.
4141
*/
4242
export const lnsGlobalChartStyles = (euiThemeContext: UseEuiTheme) => css`
43-
[id^='echTooltipPortal'],
44-
[data-euiportal='true'] {
43+
[id^='echTooltipPortal'] {
4544
${lnsNumericFontStyles(euiThemeContext)}
4645
}
4746
`;

0 commit comments

Comments
 (0)