Line heights are incorrectly configured in Tailwind #477
Labels
🕹 aspect: interface
Concerns end-users' experience with the software
🛠 goal: fix
Bug fix
🟨 priority: medium
Not blocking but should be addressed soon
🤯 ノಠ益ಠノ彡┻━┻
Aaargh!
🧱 stack: frontend
Related to the Nuxt frontend
Description
The Tailwind configuration for line-heights is ignored because the key is supposed to be
lineHeight
(not plural). This means our custom config is ignored and the built-in line heights are used.https://github.com/WordPress/openverse-frontend/blob/9ba8cd356689ce81e0153592b29ace57d866c236/tailwind.config.js#L170
A little bit of this fix has been started in WordPress/openverse-frontend#2060 (relevant diff and diff) where it was first spotted.
Additional context
It should be addressed separately as it will break almost every existing visual regression snapshot (hence the label).
The text was updated successfully, but these errors were encountered: