Problem/Motivation

With

Without

Proposed resolution

Fix CSS.

Remaining tasks

Browser tests

User interface changes

minimal, better spacing when breadcrumb block is disabled on admin pages

API changes

none

Data model changes

none

CommentFileSizeAuthor
#100 before-patch.png29.12 KBgaurav-mathur
#100 after-patch.png29.57 KBgaurav-mathur
#100 before-patch (2).png26.88 KBgaurav-mathur
#100 after-patch (2).png26.49 KBgaurav-mathur
#98 2886816-after-patch-2.png321.12 KBHarish1688
#98 2886816-after-patch.png246.76 KBHarish1688
#98 2886816-before-patch-2.png247.76 KBHarish1688
#98 2886816-before-patch.png162.59 KBHarish1688
#95 Screen Shot 2022-01-29 at 10.22.51 AM.png342.09 KBkristen pol
#95 Screen Shot 2022-01-29 at 10.14.40 AM.png451.48 KBkristen pol
#95 Screen Shot 2022-01-29 at 10.13.55 AM.png442.58 KBkristen pol
#95 Screen Shot 2022-01-29 at 10.12.04 AM.png443.08 KBkristen pol
#88 After-patch-enable-breadcrumb.png527.15 KBsakthivel m
#88 After-patch.png529.89 KBsakthivel m
#88 Before-patch.png529.53 KBsakthivel m
#87 Screenshot 2021-06-06 at 12.09.10.png64.76 KBgauravvvv
#86 After Patch 2886816.png332.13 KBchetanbharambe
#86 Before Patch 2886816.png473.9 KBchetanbharambe
#84 After-patch-breadcrumb.png90.78 KBMadhu kumar
#83 after_patch.png132.84 KBvikashsoni
#83 before_patch.png135.58 KBvikashsoni
#83 patch_apply.png27.25 KBvikashsoni
#81 Screen Shot 2020-09-14 at 5.17.35 AM.png336.15 KBtanubansal
#80 2886816-80.patch406 byteskomalk
#80 interdiff_76-80.txt351 byteskomalk
#77 Appearance-with-before.png89.72 KBwellme
#77 Appearance-without-before.png47.39 KBwellme
#77 Appearance-without-after.png49.34 KBwellme
#77 Appearance-with-after.png40.02 KBwellme
#76 after-patch.png108.42 KBvishnukumar
#76 2886816-76.patch405 bytesvishnukumar
#76 Before_patch.png61.08 KBvishnukumar
#76 After_patch_breadcrumb_enabled.png52.87 KBvishnukumar
#69 with breadcrumbs_afterPatch.JPG60.7 KBpankaj.singh
#69 with breadcrumbs_beforePatch.JPG55.95 KBpankaj.singh
#69 help text above breadcrumbs.JPG70.58 KBpankaj.singh
#69 without Breadcrumbs_afterPatch.JPG54.89 KBpankaj.singh
#69 without Breadcrumbs_beforePatch.JPG47 KBpankaj.singh
#69 breadcrumbs above help text.JPG68.04 KBpankaj.singh
#66 interdiff_34-66.txt1.18 KBhimanshu_sindhwani
#66 2886816-66.patch401 byteshimanshu_sindhwani
#64 without breadcrumbs_afterPatch.JPG54.01 KBpankaj.singh
#64 without breadcrumbs_beforePatch.JPG51.55 KBpankaj.singh
#64 with breadcrumbs_afterPatch.JPG59.1 KBpankaj.singh
#64 with breadcrumbs_beforePatch.JPG51.7 KBpankaj.singh
#63 After_Update_withourbreadcrumb.png100.67 KBpriyanka.sahni
#63 After_Taxonomy_withourbreadcrumb.png96.37 KBpriyanka.sahni
#63 After_Structure_withourbreadcrumb.png49.65 KBpriyanka.sahni
#63 After_List_withourbreadcrumb.png152.94 KBpriyanka.sahni
#63 After_Content_withourbreadcrumb.png68.11 KBpriyanka.sahni
#63 After_Blocklayout_withourbreadcrumb.png185.22 KBpriyanka.sahni
#61 Before Structuree.png48.56 KBpriyanka.sahni
#61 After Structure.png77.69 KBpriyanka.sahni
#61 After Update.png128.4 KBpriyanka.sahni
#61 Before Update.png134.81 KBpriyanka.sahni
#61 Before Taxonomy.png119.17 KBpriyanka.sahni
#61 After Taxonomy.png120.62 KBpriyanka.sahni
#61 After Block Layout.png132.84 KBpriyanka.sahni
#61 Before Block layout.png135.58 KBpriyanka.sahni
#61 Patch Applied successfully.png187.17 KBpriyanka.sahni
#58 2886816-58.patch1.56 KBhimanshu_sindhwani
#57 9.1.x_patchFailed.JPG49.65 KBpankaj.singh
#57 blockLayout_without_breadcrumb_afterPatch.JPG13.56 KBpankaj.singh
#57 blockLayout_without_breadcrumb_beforePatch.JPG11.14 KBpankaj.singh
#57 taxonomy_without_breadcrumb_afterPatch.JPG11.92 KBpankaj.singh
#57 taxonomy_without_breadcrumb_beforepatch.JPG7.02 KBpankaj.singh
#57 appearance_without_breadcrumb_AfterPatch.JPG10.99 KBpankaj.singh
#57 appearance_without_breadcrumb_beforepatch.JPG14.43 KBpankaj.singh
#57 update_without_breadcrumb_afterPatch.JPG37.16 KBpankaj.singh
#57 update_without_breadcrumb_beforepatch.JPG29.21 KBpankaj.singh
#57 update_with_breadcrumb_AfterPatch.JPG26.74 KBpankaj.singh
#57 update_with_breadcrumb_beforepatch.JPG37.66 KBpankaj.singh
#57 taxonomy_with_breadcrumb_AfterPatch.JPG12.16 KBpankaj.singh
#57 taxonomy_with_breadcrumbs_beforepatch.JPG11.27 KBpankaj.singh
#57 blockLayout_with_breadcrumb_AfterPatch.JPG13.8 KBpankaj.singh
#57 blockLayout_with_breadcrumb_beforepatch.JPG14.49 KBpankaj.singh
#57 appearance_with_breadcrumb_afterPatch.JPG5.96 KBpankaj.singh
#57 appearance_with_breadcrumb_beforepatch.JPG11.91 KBpankaj.singh
#57 8.5.6_PatchApplied.JPG28.52 KBpankaj.singh
#49 patch-does-not apply.png121.58 KBMaheshwaran.j
#49 2574037-36-rerolled.patch1.57 KBMaheshwaran.j
#43 Taxonomy-without-breadcrumbs-after-patch-drupal 8.5.jpeg19.21 KBVidushi Mehta
#43 Taxonomy-without-breadcrumbs-before-patch-drupal 8.5.jpeg20.12 KBVidushi Mehta
#43 Taxonomy-with-breadcrumbs-after-patch-drupal 8.5.jpeg16.07 KBVidushi Mehta
#43 Taxonomy-with-breadcrumbs-before-patch-drupal 8.5.jpeg34.71 KBVidushi Mehta
#43 Structure-without-breadcrumbs-after-patch-drupal 8.5.jpeg11.4 KBVidushi Mehta
#43 Structure-without-breadcrumbs-before-patch-drupal 8.5.jpeg13.6 KBVidushi Mehta
#43 Structure-with-breadcrumbs-after-patch-drupal 8.5.jpeg17.09 KBVidushi Mehta
#43 Structure-with-breadcrumbs-before-patch-drupal 8.5.jpeg22.11 KBVidushi Mehta
#43 Reports-without-breadcrumbs-after-patch-drupal 8.5.jpeg10.91 KBVidushi Mehta
#43 Reports-without-breadcrumbs-before-patch-drupal 8.5.jpeg10.36 KBVidushi Mehta
#43 Reports-with-breadcrumbs-after-patch-drupal 8.5.jpeg11.37 KBVidushi Mehta
#43 Reports-with-breadcrumbs-before-patch-drupal 8.5.jpeg17.62 KBVidushi Mehta
#43 People-without-breadcrumbs-after-patch-drupal 8.5.jpeg11.16 KBVidushi Mehta
#43 People-without-breadcrumbs-before-patch-drupal 8.5.jpeg17.23 KBVidushi Mehta
#43 People-with-breadcrumbs-after-patch-drupal 8.5.jpeg11.81 KBVidushi Mehta
#43 People-with-breadcrumbs-before-patch-drupal 8.5.jpeg28.95 KBVidushi Mehta
#43 Extend-without-breadcrumbs-after-patch-drupal 8.5.jpeg19.61 KBVidushi Mehta
#43 Extend-without-breadcrumbs-before-patch-drupal 8.5.jpeg24.44 KBVidushi Mehta
#43 Extend-with-breadcrumbs-after-patch-drupal 8.5.jpeg22.25 KBVidushi Mehta
#43 Extend-with-breadcrumbs-before-patch-drupal 8.5.jpeg37.9 KBVidushi Mehta
#43 Display modes-without-breadcrumbs-after-patch-drupal 8.5.jpeg13.49 KBVidushi Mehta
#43 Display modes-without-breadcrumbs-before-patch-drupal 8.5.jpeg13.65 KBVidushi Mehta
#43 Display modes-with-breadcrumbs-after-patch-drupal 8.5.jpeg17.39 KBVidushi Mehta
#43 Display modes-with-breadcrumbs-before-patch-drupal 8.5.jpeg20.43 KBVidushi Mehta
#43 Content types-without-breadcrumbs-after-patch-drupal 8.5.jpeg10.21 KBVidushi Mehta
#43 Content types-without-breadcrumbs-before-patch-drupal 8.5.jpeg12.73 KBVidushi Mehta
#43 Content types-with-breadcrumbs-after-patch-drupal 8.5.jpeg19.25 KBVidushi Mehta
#43 Content types-with-breadcrumbs-before-patch-drupal 8.5.jpeg22.9 KBVidushi Mehta
#43 Configuration-without-breadcrumbs-after-patch-drupal 8.5.jpeg11.16 KBVidushi Mehta
#43 Configuration-without-breadcrumbs-before-patch-drupal 8.5.jpeg20.56 KBVidushi Mehta
#43 Configuration-with-breadcrumbs-after-patch-drupal 8.5.jpeg13.33 KBVidushi Mehta
#43 Configuration-with-breadcrumbs-before-patch-drupal 8.5.jpeg19.75 KBVidushi Mehta
#43 Appearance-without-breadcrumbs-after-patch-drupal 8.5.jpeg16.18 KBVidushi Mehta
#43 Appearance-with-breadcrumbs-after-patch-drupal 8.5.jpeg16.91 KBVidushi Mehta
#43 Appearance-without-breadcrumbs-before-patch-drupal 8.5.jpeg19.28 KBVidushi Mehta
#43 Appearance-with-breadcrumbs-before-patch-drupal 8.5.jpeg25.56 KBVidushi Mehta
#40 Screen Shot 2017-10-08 at 17.49.15.png26.63 KBlauriii
#40 Screen Shot 2017-10-08 at 17.49.05.png28.1 KBlauriii
#39 2886816-taxonomy-padding.png39.47 KBstarshaped
#39 2886816-extend-padding.png72.37 KBstarshaped
#39 2886816-appearance-padding.png58.23 KBstarshaped
#37 Screen Shot 2017-07-21 at 4.13.52 PM.png83.14 KBmanjit.singh
#37 Screen Shot 2017-07-21 at 4.12.31 PM.png117.96 KBmanjit.singh
#36 Taxonomy-after-applying-patch.jpeg28.23 KBVidushi Mehta
#36 Taxonomy-before-applying-patch.jpeg16.18 KBVidushi Mehta
#36 Extend-after-applying-patch.jpeg26.68 KBVidushi Mehta
#36 Extend-before-pplying-patch.jpeg21.47 KBVidushi Mehta
#36 Appearance-after-applying-patch.jpeg19.61 KBVidushi Mehta
#36 Appearance-before-applying-patch.jpeg18.37 KBVidushi Mehta
#36 display-mode-after-applying-patch.jpeg12.3 KBVidushi Mehta
#36 Display mode-before-applying-patch.jpeg13.17 KBVidushi Mehta
#34 interdiff-2886816-30-34.txt424 bytesleft
#34 2886816-34.patch1.59 KBleft
#30 interdiff-2886816-25-30.txt232 bytesleft
#30 2886816-30.patch1.08 KBleft
#26 2886816-25.patch1.11 KBleft
#25 interdiff-2886816-19-25.txt203 bytesleft
#24 submenu-item-table.png5.21 KBifrik
#24 no-breadcrumbs-but-help.png10 KBifrik
#23 margins-without-breadcrumbs.png446.84 KByoroy
#21 interdiff-2886816-14-19.txt874 bytesleft
#21 when_you_remove_the-2886816-19.patch811 bytesleft
#19 seven-margin-on-paragraphs-coming-from-element-css.png223.11 KBleft
#18 seven-content-without-top-padding.png155.93 KBleft
#14 when_you_remove_the-2886816-14.patch736 bytesyogeshmpawar
#10 2886816-updated.patch684 bytesdeepti.verma
#7 Screenshot.png17.5 KBimshivani
#4 2886816.patch289 bytesdeepti.verma
seven without breadcrumb block.png10.97 KBwim leers
seven with breadcrumb block.png13.66 KBwim leers

Issue fork drupal-2886816

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Issue fork seven-2886816

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Wim Leers created an issue. See original summary.

wim leers’s picture

Issue summary: View changes
Issue tags: +Usability, +Accessibility, +CSS
deepti.verma’s picture

Assigned: Unassigned » deepti.verma
deepti.verma’s picture

Status: Active » Needs review
StatusFileSize
new289 bytes
deepti.verma’s picture

Assigned: deepti.verma » Unassigned
bandanasharma’s picture

StatusFileSize
new15.46 KB
new15.6 KB
new14.96 KB
new16.5 KB
new12.65 KB

#4 patch applied successfully. I have attached before and after screenshots.

Adding top padding works fine on Appearance, Extend pages, but it also increases the space on sections where help text is shown after nav menu such as Block page and Appearance Settings.

This patch does not resolve spacing issue for Configuration page. For this, we need to add margin in the compact-link class under stable theme.

Your thoughts?

imshivani’s picture

StatusFileSize
new17.5 KB

I didn't find such issue with seven theme with drupal version 8.3.x-dev.
Attached is the screnshot for the same.

Status: Needs review » Needs work

The last submitted patch, 4: 2886816.patch, failed testing. View results

deepti.verma’s picture

Assigned: Unassigned » deepti.verma
deepti.verma’s picture

Status: Needs work » Needs review
StatusFileSize
new684 bytes
deepti.verma’s picture

Assigned: deepti.verma » Unassigned
rogierbom’s picture

Issue tags: +sprint

Status: Needs review » Needs work

The last submitted patch, 10: 2886816-updated.patch, failed testing. View results

yogeshmpawar’s picture

Status: Needs work » Needs review
StatusFileSize
new736 bytes

Updated patch because #10 failed to apply on 8.3.x branch.

yoroy’s picture

Version: 8.3.x-dev » 8.4.x-dev

Good find, we should definately fix this. We first fix in the latest dev version and then consider backporting to 8.3, so moving to the 8.4.x-dev queue.

left’s picture

I'm looking at this today.

left’s picture

Assigned: Unassigned » left
left’s picture

StatusFileSize
new155.93 KB

I would like to expand on this a bit. Patch #14 works as intended, but I have found more admin pages where there is a top margin missing.

See screenshot.

Only local images are allowed.

I wonder if a better way to approach this is to add the top margin to either:

<div class="region region-content">

or <div id="block-seven-content" class="block block-system block-system-main-block">, as that might cover all instances.

I will look into this, and see if it may have negative knock-on effects.

Opinions welcomed.

left’s picture

I think the best approach here is to remove the two additional rules in patch #14 and add a top margin to the .region-content div.

The rules in patch #14 seem no longer relevant as I believe a rule has been added or amended in elements.css to add margins to all paragraph elements.

See screenshot

yoroy’s picture

Looks like your proposal is the better approach. I think a patch would be a good next step :)

left’s picture

StatusFileSize
new811 bytes
new874 bytes

To summarise, I removed both rules added by patch #14, as explained above.
I added a new rule to layout.css, adding 10px margin top to .region-content

Patch and inter-diff reflect this.

left’s picture

Assigned: left » Unassigned
Issue summary: View changes

Unassigning myself and updating Issue summary

yoroy’s picture

StatusFileSize
new446.84 KB

Looks like this place to add margins does not take messages and help texts into account?

ifrik’s picture

Status: Needs review » Needs work
StatusFileSize
new10 KB
new5.21 KB

Indeed, there now is no space between the Help text block and the Page title, if the page doesn't have Primary or Secondary tabs.

Check for example admin/structure/taxonomy:

Also on admin/structure/display-modes, the table of submenu items is squash against the page header:

left’s picture

StatusFileSize
new203 bytes

Status update:
I wasn't specific enough in my comments above. I actually deleted a file as part of my solution and did not include it in my patch.
New patch uploaded, for review again.

Thanks for reviewing :)

left’s picture

StatusFileSize
new1.11 KB
yoroy’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 26: 2886816-25.patch, failed testing. View results

left’s picture

Assigned: Unassigned » left
left’s picture

StatusFileSize
new1.08 KB
new232 bytes

Added new line at end of file

left’s picture

Assigned: left » Unassigned
Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 30: 2886816-30.patch, failed testing. View results

left’s picture

Assigned: Unassigned » left
left’s picture

StatusFileSize
new1.59 KB
new424 bytes

Removed reference to help.css file from libraries.yml as reflected in new patch and inter-diff.

Ran test locally this time.

left’s picture

Assigned: left » Unassigned
Status: Needs work » Needs review
Vidushi Mehta’s picture

I applied patch #34 works fine for me. Adding before after screenshots.

manjit.singh’s picture

I have captured some screenshots, i need some suggestions whether this is desired results or not.

screenshot

screenshot

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

starshaped’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new58.23 KB
new72.37 KB
new39.47 KB

Applied patch in #34 locally and everything looks good to me. Setting this to RTBC.

lauriii’s picture

Status: Reviewed & tested by the community » Needs review
Issue tags: +Needs usability review, +Needs manual testing
StatusFileSize
new28.1 KB
new26.63 KB

This does change the styles on some pages which don't suffer from this exact bug. Would be great to get sign-off from the UX maintainer and a bit more manual testing to see how widespread this change is.

Before:

After:

rachel_norfolk’s picture

Issue tags: -Needs manual testing

just removing Needs Manual Testing tag as it is not relevant at the moment.

Bojhan’s picture

Issue tags: -Needs usability review

This seems to continue to look consistent, I am not too worried about the additional padding - when breadcrumbs are there.

Vidushi Mehta’s picture

StatusFileSize
new25.56 KB
new19.28 KB
new16.91 KB
new16.18 KB
new19.75 KB
new13.33 KB
new20.56 KB
new11.16 KB
new22.9 KB
new19.25 KB
new12.73 KB
new10.21 KB
new20.43 KB
new17.39 KB
new13.65 KB
new13.49 KB
new37.9 KB
new22.25 KB
new24.44 KB
new19.61 KB
new28.95 KB
new11.81 KB
new17.23 KB
new11.16 KB
new17.62 KB
new11.37 KB
new10.36 KB
new10.91 KB
new22.11 KB
new17.09 KB
new13.6 KB
new11.4 KB
new34.71 KB
new16.07 KB
new20.12 KB
new19.21 KB

I had thoroughly checked the site with breadcrumbs and without breadcrumbs and i found there is no big difference with breadcrumbs padding if breadcrumbs are there. I captured screenshots for every page before and after applying the patch including breadcrumbs and without breadcrumbs.
PFA the screenshots for more clarity. Hope it helps.

rachel_norfolk’s picture

Status: Needs review » Reviewed & tested by the community

Hidden a few files so the actual patch and interdiff are easier to find for committers.

Screenshots all look good (and look like a lot of work, too!) - We've had the usability review and the patch still applies. Setting to RTBC...

xjm’s picture

Status: Reviewed & tested by the community » Needs review
Issue tags: +Needs manual testing

Wow, thanks for all the manual testing!

It does look like Seven has an assumption that the breadcrumbs are displayed. It's also good that this even allows us to clean up some unneeded CSS by putting it in the spot where it belongs. Excellent. Since this is a change to Seven, which is an internal theme, it's allowed to change it in minor releases, and this is a clear visual improvement.

The screenshots in #43 confirm that the case where the breadcrumbs block is or isn't present works consistently across several pages. Thanks also for cropping the screenshots to just the important part; that's definitely helpful.

I think what we need to have screenshots of is whether different combinations of the blocks that are usually at the top of the page, e.g. with help and without breadcrumbs, with help and with breadcrumbs, etc.. We should also try placing the blocks we're removing the padding from on different parts of the page. They're not necessarily at the top, so we could be sort of making the same mistake the original code does by assuming a certain block placement. We don't need to test these combinations on as many pages as in #40 -- just testing a few different things once each should be good.

Thanks also @rachel_norfolk for fixing the file attachments; it would have been hard to find the patch otherwise. :)

rachel_norfolk’s picture

Just for my own understanding, can someone explain to me why we remove

-.compact-link {
-  margin: 0 0 0.5em 0;
-}
-

I'm trying to see the relevance if the main purpose is to add some margin above .region-content.

yoroy’s picture

Title: When you remove the "Breadcrumb" block in Seven, there's no top padding for the main content, looks awful. » When you remove the "Breadcrumb" block in Seven, there's no top padding for the main content
Maheshwaran.j’s picture

Assigned: Unassigned » Maheshwaran.j
Maheshwaran.j’s picture

StatusFileSize
new1.57 KB
new121.58 KB

I have rerolled the patch for Drupal 8.5.x.

Maheshwaran.j’s picture

Assigned: Maheshwaran.j » Unassigned

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.7.x-dev » 8.8.x-dev

Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.1.x-dev

Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

pankaj.singh’s picture

Assigned: Unassigned » pankaj.singh
pankaj.singh’s picture

Applied the patch from #49 on 8.5.6, a similar result appears before and after applying the patch. Especially in the case of breadcrumbs block disabled, there is a very minimal spacing between tabs and helping text. It seems top padding for the content is missing.

Also, try to apply the same patch on 9.1.x but it's failing to apply.

Please refer to the screenshot attached.

himanshu_sindhwani’s picture

StatusFileSize
new1.56 KB

Rerolling patch in #49 for 9.1.x-dev

priyanka.sahni’s picture

Assigned: Unassigned » priyanka.sahni
chi’s picture

That's kind of typical issue in Drupal design. To ensure vertical rhythm components (blocks, fields, form elements, etc) should never define external geometry, i.e. margins. That's a job for container elements.

priyanka.sahni’s picture

StatusFileSize
new187.17 KB
new135.58 KB
new132.84 KB
new120.62 KB
new119.17 KB
new134.81 KB
new128.4 KB
new77.69 KB
new48.56 KB

Verified and tested by applying the patch #58 for 9.1.x-dev.It was applied successfully.

priyanka.sahni’s picture

Assigned: priyanka.sahni » Unassigned
priyanka.sahni’s picture

Verified and tested by applying the patch #58 for 9.1.x-dev.It was applied successfully.

pankaj.singh’s picture

Tested the patch given in #58, It seems top padding for main content is still missing after applying the patch in case of without breadcrumbs.

Please refer to SS attached for ref.

pankaj.singh’s picture

Status: Needs review » Needs work
himanshu_sindhwani’s picture

StatusFileSize
new401 bytes
new1.18 KB

I took a different approach than in #34. Here is a patch for the same.

himanshu_sindhwani’s picture

Status: Needs work » Needs review
pankaj.singh’s picture

Assigned: Unassigned » pankaj.singh
pankaj.singh’s picture

@himanshu_sindhwani thanks for the patch. Patch applied and changes are reflecting as expected.

Top padding for main content is now appearing after applying the patch with breadcrumbs disabled. Also, attached the SS how it looks with changing the order of help text and breadcrumbs.

deepalij’s picture

Assigned: Unassigned » deepalij
deepalij’s picture

Assigned: deepalij » Unassigned
Status: Needs review » Reviewed & tested by the community

Verified and tested patch #66. Looks good to me.
Refer #69 screenshots for the reference.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 66: 2886816-66.patch, failed testing. View results

sd9121’s picture

Assigned: Unassigned » sd9121
himanshu_sindhwani’s picture

Status: Needs work » Needs review

Test fails randomly. So setting it to needs review.

sd9121’s picture

Assigned: sd9121 » Unassigned

@himanshu_sindhwani I have tested your #66 patch and your patch will resolve the given issue.

Need minor updates in this patch.

1. can you use only the first-child of p to remove the margin-top value?
.help p:first-child

2. can you update .region.region-breadcrumb class with .region-breadcrumb (to reduce selector specificity).

Like .region-breadcrumb + .page-content .help p:first-child

Thanks!

vishnukumar’s picture

StatusFileSize
new52.87 KB
new61.08 KB
new405 bytes
new108.42 KB

@pankaj.singh your patch updated with changes suggested by @sd9121 seems working fine,

wellme’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new40.02 KB
new49.34 KB
new47.39 KB
new89.72 KB

Verified and tested patch #76. Looks good to me.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 76: 2886816-76.patch, failed testing. View results

komalk’s picture

Assigned: Unassigned » komalk
komalk’s picture

Assigned: komalk » Unassigned
Status: Needs work » Needs review
StatusFileSize
new351 bytes
new406 bytes

Fixing test case review the patch.

tanubansal’s picture

StatusFileSize
new336.15 KB

Tested the latest patch #80 on 9.1, looks good to me
This can be moved to RTBC

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

vikashsoni’s picture

StatusFileSize
new27.25 KB
new135.58 KB
new132.84 KB

I have applied patch #80 on 9.2 working fine sharing screenshot...

Madhu kumar’s picture

StatusFileSize
new90.78 KB

Patch #80 applied cleanly and working as expected , there's top padding for the main content. Screenshot for reference.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

chetanbharambe’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new473.9 KB
new332.13 KB

Verified and tested patch #80.
Patch applied successfully and looks good to me.

Testing Steps:
# Apply Seven theme
# Goto: /admin/appearance
# Check the necessary results.

Expected Results:
# User should see some top padding when there are no breadcrumbs.

Actual Results:
# When the User removes the "Breadcrumb" block in Seven Theme, there's no top padding for the main content

Looks good to me.
Can be a move to RTBC.

gauravvvv’s picture

Status: Reviewed & tested by the community » Needs work
StatusFileSize
new64.76 KB

Still, there is no spacing if we remove the breadcrumb. Adding after patch screenshot for reference.
Moving to NW

sakthivel m’s picture

Status: Needs work » Needs review
StatusFileSize
new529.53 KB
new529.89 KB
new527.15 KB

@Gauravmahlawat

I have Verified and tested patch #80. Patch applied successfully and looks good to me.

Attached screenshot here. please verify it.

Move to RTBC

sakthivel m’s picture

Status: Needs review » Reviewed & tested by the community
lauriii’s picture

Status: Reviewed & tested by the community » Needs work

has a margin of 1em from elements.css which is different from the .help styles. We should probably still override the margin to set it to 10px to match the old behavior.

Indrajith KB made their first commit to this issue’s fork.

indrajithkb’s picture

Status: Needs work » Needs review

Hi @lauriii here I have kept the 10px(old behaviour) of .help class. Please review the merge request !940.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

kristen pol’s picture

Status: Needs review » Reviewed & tested by the community
Issue tags: -sprint, -Needs manual testing +ContributionWeekend2022, +Bug Smash Initiative
StatusFileSize
new443.08 KB
new442.58 KB
new451.48 KB
new342.09 KB

Thank you for the updated patch.

@tanubansal @chetanbharambe @Sakthivel M - Please note that if you manually test and review the code and truly think the issue should be RTBC because it passes all the "core gates", then you should change the status to RTBC yourself during the comment rather than write something like " Can be a move to RTBC". This helps move the issue along faster.

I have reviewed the code and most recent comments as well as manually tested by 1) removing everything from the breadcrumb region and 2) putting something other than the breadcrumb in the region.

Marking RTBC based on:

1. Issue summary, title, and tags seem okay.

2. Code is clear and addresses only the issue in the issue summary.

3. Most recent feedback in #90 appears to be addressed. Note that I'm not a frontend developer anymore but this seems clear to me.

4. Assumes no manual tests need to be added.

5. Patch fixes the issue in the issue summary. See screenshots below.

Before patch:

After patch (with breadcrumb)

After patch (without breadcrumb)

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

larowlan’s picture

Status: Reviewed & tested by the community » Needs review

Left a comment on the MR

Harish1688’s picture

StatusFileSize
new162.59 KB
new247.76 KB
new246.76 KB
new321.12 KB

Tried the patch #80 (2886816-80.patch) with the 9.5.x-dev version. working fine looks good for RTBC.
screenshot attached with patch and without patch.
2886816-before-patch.png
2886816-before-patch.png
2886816-after-patch.png
2886816-after-patch-2.png

longwave’s picture

Project: Drupal core » Seven
Version: 9.5.x-dev » 1.0.0-alpha1
Component: Seven theme » Code

The 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.

gaurav-mathur’s picture

StatusFileSize
new26.49 KB
new26.88 KB
new29.57 KB
new29.12 KB

Patch #80 tested and applied successfully for drupal 9 version.
Screenshots attached for reference.

avpaderno’s picture

Title: When you remove the "Breadcrumb" block in Seven, there's no top padding for the main content » When the "Breadcrumb" block iis removed, there's no top padding for the main content
Version: 1.0.0-alpha1 » 1.0.x-dev
Status: Needs review » Needs work
Issue tags: +Needs reroll
sandip’s picture

Assigned: Unassigned » sandip

I am working on it.

sandip’s picture

Assigned: sandip » Unassigned
Status: Needs work » Needs review

@avpaderno, Please review the changes in the MR

avpaderno changed the visibility of the branch 2886816-when-you-remove to hidden.

avpaderno’s picture

Issue tags: -Needs reroll

  • avpaderno committed 5eb9af3e on 1.0.x authored by sandip
    Issue #2886816: When the Breadcrumb block is removed, there's no top...

  • avpaderno committed c0db28f7 on 2.0.x
    Issue #2886816: When the Breadcrumb block is removed, there's no top...
avpaderno’s picture

Status: Needs review » Fixed
avpaderno’s picture

Title: When the "Breadcrumb" block iis removed, there's no top padding for the main content » When the "Breadcrumb" block is removed, there's no top padding for the main content
avpaderno’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.