Fix layout node form display for Drupal 10.1.0-alpha1

Created on 1 May 2023, about 1 year ago

Problem/Motivation

Drupal 10.1.0-alpha1 was released on: 28 Apr 2023 by: catch
https://www.drupal.org/project/drupal/releases/10.1.0-alpha1

Thanks, to the Drupal Core team.

Steps to reproduce

Given that The Gin Admin Theme was installed with Drupal 10.1.0-alpha1
And configured as the default admin theme with "Use the administration theme when editing or creating content"
When creating a new "Basic Page" content
Then the following form element spacing will show up

But when used with Drupal 10.0.x

Changes in Drupal Core's Claro admin theme

@media (min-width: 61rem)
.layout-node-form {
    display: grid;
    grid-template-columns: 3fr minmax(22.5rem, 1fr);
    gap: var(--space-l);
}

Proposed resolution

  • Change the .layout-node-form class to have display: block; to work with responsive sizes

Remaining tasks

  • File an issue
  • Patch/MR
  • Test
  • Responsive testing
  • Review

User interface changes

Use the full form canvas space

API changes

  • N/A

Data model changes

  • N/A
📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇯🇴Jordan Rajab Natshah Jordan

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

Comments & Activities

Production build 0.69.0 2024