Closed (fixed)
Project:
Seven
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 May 2015 at 21:51 UTC
Updated:
20 Jun 2025 at 10:44 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
Bojhan commentedComment #2
Bojhan commentedLewis, I am thinking we need a baseline we use as guideline here. I am expecting 18, perhaps 20? What do you think it should be?
Marking this major as our design will look much better, if solved properly.
Comment #3
lewisnyman@Bojhan It's very hard to call this a major, at least in the communities definition of major.
Compare this with... fixing a significant-but-not-critical UX issue and you'd have to say normal at best. This is a perfect candidate for a task in 8.1.x.
Comment #4
Bojhan commentedOke, but what about my other question :D?
Comment #6
yoroy commentedComment #9
james.mejia commentedI think the easiest way in establishing rhythm would be to stick consistent units of vertical spacing. So based on
81.3%/1.538em, we should have units of 10px, 20px, and multiples of those.Some elements (like paragraphs) use 1em for spacing when they should be using 10px/20px/30px/40px.
Comment #10
tracipotocnik commentedTook a stab at fixing the heading/paragraph/button spacing.
Page Titles: 15px
Breadcrumbs: 20px
Paragraphs: 10px
Headings: 20px
Form Items (except checkboxes): 20px
Checkboxes: 10px
Visual for the before/after attached.
Comment #12
idebr commented@traci.potocnik@gmail.com Thanks for working on this issue! It seems your commit is missing the file
core/themes/seven/css/components/action-links.css. Can you check if you still have this file available in your repository?Comment #13
tracipotocnik commentedUpdated patch added! The missing files are now included.
Comment #14
tracipotocnik commentedComment #15
Bojhan commentedCan you add a few before/after screenshots?
Comment #16
yoroy commentedThanks for working on this @tracipotocnik!
@Bojhan screenshot is in #10. Here's some more.
Comment #23
bandanasharma commentedRe-roll the patch.
Comment #26
rinku jacob 13 commentedVerified and tested updated patch #23
patch applied successfully. thanks @BandanaSharma
Comment #27
kiran.kadam911Re-roll the patch 9.3.x. Kindly review.
Thanks!
Comment #28
chetanbharambe commentedVerified and tested patch #27.
Patch applied successfully and looks good to me.
Testing Steps:
# Goto: admin/content, admin/structure, admin/config
# Check the spacing between titles, tables, action buttons
Expected Results:
# User should see the accurate spacing between titles, tables, action buttons
Actual Results:
# User is not able to see the accurate spacing between titles, tables, action buttons
Can be a move to RTBC.
Comment #29
Bojhan commentedNice work!
Comment #30
lauriiiThe CI failed for #27.
Comment #31
ravi.shankar commentedAddressing comment #30.
Comment #34
Harish1688 commentedTested the patch (2487027-31.patch) with core version (9.5.x-dev and 9.4.x-dev) working fine, good for RTBC.
Comment #35
Aamir M commentedComment #36
Aamir M commentedVerified and tested patch #31.
Patch applied successfully and looks good to me.
Testing Steps:
# Goto: admin/content, admin/structure, admin/structure/views
# Check the spacing between titles, tables and action buttons
Can be a move to RTBC.
Comment #37
Aamir M commentedComment #38
Aamir M commentedAs per my previous comment patch #31 was Verified and tested.
Can be moved to RTBC.
Comment #39
bnjmnmSpotted some things to address.
There's a
.seven-detailsclass a few lines up that is already getting margin styles. The margin styles should probably be changed there, or at least removed since they're immediately overridden by this.I notice here and several other places that the top margin is being removed altogether. This is a pretty big change and I'm not sure it is necessary to achieve the goals of this issue since adjacent margins will collapse. If there's a good reason for this, it would be good to justify in the issue summary.
There are some other
.form-actionsstyles further down this file. It would be best to have this adjacent to that.The bottom margin is being set to 20px in LTR, I'm guessing that was intended here too?
There's no guarantee the page title block is directly above the primary tabs. If the top margin is removed, this could result in an above block being directly atop the tabs with no spacing.
Comment #40
akshayadhavComment #41
akshayadhav@bnjmnm
Corrected points mentioned by you.
Agreed with:
So as per comment #10 replaced
0.75emasmargin-topwith10px. There should be margin top.Regarding point #3:
The other styles for

.form-actionsare being used for narrow devices (max-width: 600px).Regarding point #4:
Yes, that is required. And not only for LTR, it is required for RTL as well. So making that change too.
Please refer the attached screenshots for both LTR and RTL messages (before and after).
Regarding point #5:
I guess there is a probability of placing the Primary tabs block without any other block above it. We will need to check for such scenarios, then only we can conclude on it. So, for the time being keeping the
margin: 0for it.Comment #42
ambikahirode commentedPatch in #41 working fine for me on local 9.5
Comment #43
Aamir M commentedComment #44
Aamir M commentedVerified and tested patch #41 on Drupal 9.5.x-dev. Patch applied successfully and looks good to me.
Testing steps:
1. Goto admin/Appearance
2. Set Seven theme in the Administration theme (Scroll down and see)
3. Save configuration
4. Go to Structure or Content
5. Observe the spacing above the Heading
6. Apply the patch
7. Reload the page. Now observe the spacing is displaying properly (Note: Clear all caches if required)
Testing Result:
1. After applying the patch empty space above the header is reduced
Can be moved to RTBC
Comment #45
catchPostponing on #3304285: Remove Seven from core, this should probably be moved to the contrib Seven issue queue once that issue has been committed.
Comment #46
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 and marking RTBC again as per #44.
Comment #48
avpadernoComment #49
avpadernoThe patches are for Drupal core.
Comment #50
avpadernoComment #51
avpadernoComment #52
avpadernoComment #53
avpadernoComment #55
avpadernoComment #57
avpaderno