You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support specifying _FontScaleOptions globally #7124
Is your feature request related to a problem? Please describe.
I'm currently developing a browser extension. In my extension, I use Shadow DOM to isolate styles to ensure my extensions render correctly in various web environments. However, I've run into an issue that I hope can be improved.
The problem is that, due to the inability to globally specify the _FontScaleOptions of the euiFontSize method, the font-size of some components uses rem units by default (https://github.com/elastic/eui/blob/main/src/components/tabs/tab.styles.ts). This caused my extension to not render correctly on some webpages with font sizes set.
Activity
JasonStoltz commentedon Aug 28, 2023
Labeling this as high priority and low effort. We think this would be a quick win so plan to address this shortly.
1Copenut commentedon Aug 28, 2023
Thank you for the issue submission @y1j2x34. The EUI team is working on this in a related pull request.
y1j2x34 commentedon Aug 29, 2023
I am delighted that this issue is being promptly addressed. Thank you for your proactive handling.
cee-chen commentedon Aug 29, 2023
#7133 will release next Monday. Once it's available, you can upgrade and modify your usage like so: