Detail and action buttons within an inline-entity-form renders oddly

Created on 27 August 2024, about 1 month ago

Problem/Motivation

Detail and action buttons within an inline-entity-form renders with extra BG colour, and is offset from the rest

Steps to reproduce

Set up form display with a details fieldgroup at the end

Proposed resolution

The offending CSS is in inline_entity_form.css

.ief-form > .form-wrapper > .form-wrapper:last-of-type {
  background: var(--gin-bg-layer2);
  padding: 0 var(--gin-spacing-m);
  margin: 0 calc(var(--gin-spacing-m) * -1);
}

If I exclude these rules in my browser console the problem goes away. There's no code comment to describe why this is here, so maybe it should just go away.

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇨🇦Canada dalin Guelph, 🇨🇦, 🌍

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

Comments & Activities

Production build 0.71.5 2024