field:not(:last-child) does not work with layout builder

Created on 1 September 2024, 4 months ago

Problem/Motivation

This selector does not work if layout builder is used and you show several fields on content type.

.field:not(:last-child) {
    margin-block-end: var(--sp2);
}

Steps to reproduce

  1. Create a few random fields on a content type.
  2. Enable layout builder for your content type.
  3. Reload the node
  4. bottom margin is gone

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

10.3

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