-
Hi team, I have a customer who is encountering a styling issue with Webchat due to the font-size being set to 62.5% on one of the pages the Webchat-Widget is included in. PS: Setting font-size to 62.5% in the html tag is a popular trick to ease the styling using rem values: https://www.toheeb.com/en/pages/62.5-font-size-trick/ To give some visual context here...When they open the chat bubble and the webchat app is visible, the page change the size of its components. If they open the bubble when customer is logged in (another page), in this case the page is ok but the chat elements are too little. Sometimes it's changing the page style and some others the webchat ones. Must be something in between that is causing this issue |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 14 replies
-
Hi @sakukreti - we're taking a look at this today and we'll get back to you soon with an update. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi @sakukreti To be able to correctly set proportionally sized spacing, sizing and typography based on the users personal preference, we have to rely on a percentage font-size set on the html element. We do this for accessibility reasons. There are two schools of thought, those who set the base font size to 100% (16px) and those who set the base font size to 62.5% (10px). Neither are wrong, they work in exactly the same way. But we had to pick one, and we predominantly saw 100% being set on the applications we were targeting. Unfortunately, that doesn't work in this case. I think ultimately the only thing we can do is add a new design token for base font size. A consumer could then override the base font size token, and font-size tokens to match their application's needs, so Paste doesn't clash. I can't say when we'd get to that, though, at the moment, as we're in the midst of closing out Q1 right now. We'll come back and update when we've gotten it triaged. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@oscar8880 @SiTaggart The customer tried all our suggestions, however, they didn't work/were not enough. |
Beta Was this translation helpful? Give feedback.
-
Hi, you can follow along on progress here #3090 |
Beta Was this translation helpful? Give feedback.
-
@SiTaggart The customer tried out the latest Paste package and do not see any results. Steps taken:
None of the tested values yielded any results or made any difference, the styling issue persisted. |
Beta Was this translation helpful? Give feedback.
Hi, you can follow along on progress here #3090