brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.91k stars 2.34k forks source link

Leo - Conversation is too long message has an incorrect line-height #41383

Open aguscruiz opened 1 month ago

aguscruiz commented 1 month ago

Description

The messaging for the conversation is too long message seems to have a weird line-height. I don't know if it's just this error message or others from Leo too.

Font properties should be Small/Regular from Nala, which has a tighter line height.

https://bravesoftware.slack.com/archives/C04KPE0BUDU/p1727947889743509

Message example here (Search integration message) https://www.figma.com/design/Kl4ISaYCPaWcIsWl5c36WA/%E2%9C%85-Leo-%5BDONE%5D?node-id=153-1401&t=SKYNFWJextxRzCqS-1

Actual result

image

Expected result

image
fallaciousreasoning commented 1 month ago

I think this is because we're showing a button inline which has quite a bit of padding