Remove obsolete overlay styles and supporting logic in seven_preprocess_html()

Created on 18 January 2017, over 8 years ago
Updated 3 June 2025, 3 days ago

Introduced in #2095275: Space above add content form with no overlay , safe to remove because supporting logic had a bug that made it a no-op anyway.

Original report:

  if ($suggestions = theme_get_suggestions($path_args, 'page', '-')) {
    foreach ($suggestions as $suggestion) {
      if ($suggestion === 'page-node-edit' || strpos($suggestion, 'page-node-add') !== FALSE) {
        $variables['attributes']['class'][] = 'node-form-layout';
      }
    }
  }

should be: 'page--node-edit' and 'page--node-add'

🐛 Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

🇵🇱Poland tacituseu

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

Merge Requests

Comments & Activities

Not all content is available!

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

Production build 0.71.5 2024