Closed (fixed)
Project:
Seven
Version:
1.0.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jan 2017 at 20:26 UTC
Updated:
26 Jun 2025 at 07:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
tacituseu commentedComment #4
bander2 commentedI can confirm that without the patch the "node-form-layout" class is not added to the body of node edit pages as seems to be the purpose of the hook. The patch fixes the issue.
Comment #5
alexpottSo I guess this means we should be asking the question is core/themes/seven/css/layout/node-add.css actually needed and what is it doing since the class it depends on is never added? Maybe some screenshots before and after this fix are in order? It's possible this patch actually breaks something :)
Comment #6
tacituseu commentedShuffled quite a bit over time but #2095275: Space above add content form with no overlay seems to be the origin.
Comment #7
tacituseu commentedAlso some mention here #2330661-10: Node form layout bug when toolbar collapsed.
Comment #8
bander2 commentedThe node-form-layout class is found in only one other place in the source. in core/themes/seven/css/layout/node-add.css:
And we do find that before applying the patch, the .messages div on the node edit page has a margin of 9px 0 10px 8px. After the patch, 1em 0 1em 8px.
Comment #9
tacituseu commentedNo harm in removing it then...
Comment #11
tacituseu commented... thoroughly ;)
Comment #12
bander2 commentedRelevant markup is identical before and after the patch. Looks good.
Comment #13
star-szrThanks everyone, I think the issue summary/title need an update based on what I'm seeing in the patch and recent comments.
Comment #14
tacituseu commentedLeaving at NW as in the meantime #2068063: Change "Save and keep un-/published" buttons to a "Published" checkbox and an included "Save" button made some changes to
core/themes/seven/css/layout/node-add.css, also #2863431: Change "Save and keep un-/published" buttons for media module is about to modify it again.Comment #15
tacituseu commentedLeaving
core/themes/seven/css/layout/node-add.cssin place, just removed the obsolete style.Comment #16
tacituseu commented... and leaving lib too.
Comment #18
manuel garcia commentedRe #14 - #2863431: Change "Save and keep un-/published" buttons for media module is not going to modify
node-add.css.Comment #19
manuel garcia commentedAlso, if we want to remove this file, could we perhaps move it to
css/components/node.css?Comment #20
tacituseu commentedThe issue that introduced the file: #2321505: Split Seven's style.css into SMACSS categories.
Comment #22
Vidushi Mehta commentedI applied the patch after pulling the latest code on 8.4.x and 8.5.x but on both branches i got an error.
PFA the screenshots after applying the patch.
Comment #23
tacituseu commentedRe-rolled.
Comment #31
sakthivel m commented#23 Patch Failed
Comment #32
sakthivel m commented#32 Please review the patch
Comment #33
yogeshmpawarRemoving Needs reroll tag as it is no longer needed.
Comment #35
ajaypratapsingh commented#32 patch is working fine on Drupal 9.3.x and can be moved to RTBC
Comment #37
longwaveThe Seven theme has been removed from Drupal 10 core. I confirmed that this issue only affects Seven and no other themes included with Drupal core, so I am moving this to the contributed Seven project.
Comment #38
avpadernoComment #39
avpadernoComment #40
avpadernoComment #42
avpadernoComment #43
avpadernoComment #46
avpadernoComment #47
avpaderno