ai-guide icon indicating copy to clipboard operation
ai-guide copied to clipboard

Language Models 101 - Font change associated with <code> elements

Open ashandoak opened this issue 2 years ago • 1 comments

Sub-section title

WHAT IS FREQUENCY?

Please describe your issue

The

text in the WHAT IS FREQUENCY? section is inheriting a different font-family from the rest of the

-wrapped text in the document. Each of the text sections related to a figure has additional nested

elements, one of which is passing CSS classes to the text, including the ff-montserrat class, which is overriding the document font-family.

Perhaps this is intentional, but I don't read it as such given the rest of the formatting. If the the font is intended to be different, perhaps some additional

This also applies to the sections WHAT IS TEMPERATURE? and WHAT IS 'TOP_P' SAMPLING?

Describe the solution you'd like to see

All

text in the document should have a consistent font style.

ashandoak avatar Nov 01 '23 16:11 ashandoak

@heaversm Not sure if this is related the njk macros work. https://github.com/mozilla/ai-guide/blob/ba99281cad7a57bc4525b2fda58873d7f74b3652/templates/content/llms-101/index.md?plain=1#L58-L65

Not sure why it needs the <code> wrapper or if <div> or something more inert would also do... whatever is doing.

pdehaan avatar Nov 02 '23 19:11 pdehaan