Closed automaton82 closed 3 weeks ago
The prose class adds 1rem font-size to BotBubble. This is supposed to be override by the defaultFontSize which is 16, but this doesn't seem to work due to lack of px on the definition. Here is the current constant and use in BotBubble.tsx:
prose
1rem
defaultFontSize
16
px
BotBubble.tsx
... const defaultFontSize = 16; ... 'font-size': props.fontSize ? `${props.fontSize}px` : `${defaultFontSize}`,
If you run it as-is and inspect the message from the system, it'll be 1rem which for me is 14px.
14px
I believe this font-size line needs to be:
font-size
'font-size': props.fontSize ? `${props.fontSize}px` : `${defaultFontSize}px`,
On my local instance this solves it, but the same would have to be done for all the defaultFontSize usages in the embed app.
Thanks!!
The
prose
class adds1rem
font-size to BotBubble. This is supposed to be override by thedefaultFontSize
which is16
, but this doesn't seem to work due to lack ofpx
on the definition. Here is the current constant and use inBotBubble.tsx
:If you run it as-is and inspect the message from the system, it'll be
1rem
which for me is14px
.I believe this
font-size
line needs to be:On my local instance this solves it, but the same would have to be done for all the
defaultFontSize
usages in the embed app.