Fieldsets lack indentation

Created on 1 March 2025, about 2 months ago

Problem/Motivation

Fieldset texts are too far to the left, and need to be moved to the right, to align with the element above.

Steps to reproduce

  1. Visit /admin/config/development/settings
  2. Click "Twig development mode"
  3. See that the header in the opened fieldset ("Twig development mode") is not indented enough, and doesn't align with the elements above

Claro

Fieldset texts are correctly aligned in Claro.

Claro Compact

Fieldset texts are too far to the left in Claro Compact.

Proposed resolution

Remaining tasks

Update the CSS, would these changes work?

/* style.css | /themes/contrib/claro_compact/css/style.css */

.fieldset__label {
  /* padding: 0; */
  padding-top: 0;
}

.fieldset__wrapper {
  /* padding: 0; */
  /* margin: 0; */
}

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇰Denmark ressa Copenhagen

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

Comments & Activities

Production build 0.71.5 2024