Themes cannot differentiate between layout builder editing page and regular pages

Created on 6 June 2019, over 5 years ago
Updated 8 March 2024, 6 months ago

Problem/Motivation

A theming issue in Umami #3059852: [PP-1] Page title has an uneven vertical space in Layout Builder editing page β†’ is blocked because themes cannot differentiate between regular pages and layout builder editing page - /admin/structure/types/manage/content_type_machine_name/display/full/layout
Because editing layouts is done using the main theme and not admin theme, this issue is important for many websites, so they can adjust their custom theme to work well with layout builder editing page.

Proposed resolution

Add a special class to body when viewing layout builder editing page so themes can create special CSS overrides for that page as needed.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Postponed

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated less than a minute ago

Created by

πŸ‡ΊπŸ‡ΈUnited States shaal Boca Raton, FL

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand DanielVeza Brisbane, AU

    This issue has had no activity for 3+ years, and in #9 it was recommended that we don't add this to Layout Builder itself.

    No activity would suggest this isn't really a 'Major' issue, so lowering the prioity. Should this ticket be rescoped to add this to the Umami theme instead? Or just closed?

Production build 0.71.5 2024