CSS "form-item__label" inconsistent on node edit forms

Created on 2 September 2024, 4 months ago
Updated 18 September 2024, 3 months ago

Problem/Motivation

If you use Claro theme all form-item__label look the same (bold, same font size)

If you open the node edit form with Oliviero the form-item__label looks very different. Many lables are not bold. If it comes to a date wrapper the H4 label is very large and bold.

Tested under D10.3.2

Steps to reproduce

  1. Add a fiew
  2. Open node edit form with Oliviero.

Proposed resolution

With this code from Claro it looks fine:

.form-item__label[for] {
    cursor: pointer;
}

.form-item__label {
    display: table;
    margin-block: calc(var(--space-xs) / 2);
    font-size: var(--font-size-s);
    font-weight: bold;
    line-height: var(--line-height-form-label);
}

Remaining tasks

Update field label style.

User interface changes

Before:

After:

Introduced terminology

None

API changes

None

Data model changes

None

Release notes snippet

๐Ÿ› Bug report
Status

Needs review

Version

11.0 ๐Ÿ”ฅ

Component
Oliveroย  โ†’

Last updated 2 days ago

Created by

๐Ÿ‡ฉ๐Ÿ‡ชGermany marc.bau

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024