khuddite
|
5a293b8d60
|
Update menu title font size based on whether or not it's clickable (#8354)
Fixes #8350
1. Summary
https://www.figma.com/design/xt8O9mFeLl46C5InWwoMrN/Twenty?node-id=36424-125120&node-type=instance&t=psxuagFLo1Cu26Vz-0
Based on Figma, the menu header should have `base/medium` instead of
`small/medium` when it's not clickable or dropdown. However, for
dropdowns, we should keep it as `small/medium`. Menu items should stay
as `base/regular`.
2. Solution
Utilized `onClick` prop to decide the font size of the menu header. That
way, Dropdowns stay as `base/small` while non-clickable headers are
updated to `base/medium`
3. Screenshots
***please check out font size and weight for each case***
header: 
menu item: 
dropdown: 
|
2024-11-06 14:08:29 +01:00 |
|