Headline sizing is inconsistent #12824
Replies: 2 comments
-
I was able to replicate this—thanks for pointing this out. We'll sort out how to address this. |
Beta Was this translation helpful? Give feedback.
-
Hi @robinscholz - as you mentioned, the font size variation is happening because Payload applies styling based on field type, rather than nesting level. This is an intentional design decision based on the following:
That said, we do recognize that when fields of different types are placed side-by-side (e.g. a text field next to an array field), the varying label styles can feel inconsistent and this is something we plan to improve in the future. I’m converting this to a feature request so we can track it as part of broader improvements to field hierarchy and styling. In the meantime, if the visual contrast is disruptive, you can manually override label styles using custom CSS in your Payload config. Thank you for flagging this! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the Bug.
Depending on the field type, payload’s ui applies different typographic styling to a fields headline. Instead of per field type, this should be handled according to nesting hierarchy. Top-level fields should all feature the larger headline. Nested fields could then be styled with a smaller type size.
Reproduction Steps
Environment Info
Beta Was this translation helpful? Give feedback.
All reactions