Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
Seven theme
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 May 2015 at 20:53 UTC
Updated:
27 May 2015 at 21:24 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #1
Bojhan commentedComment #2
cosmicdreams commentedit appears that the
display:inline-blockis at fault for this extra spacing. It also looks like the containing element has the class is-horizontal-enabled which gets different styles than is-horizontal.I'm a bit confused about the intent of these classes, but it appears that the intent of these styles. We have both is-horizonal and is-horizontal-enabled. And is-horizontal-enabled doesn't seem to be addressed by any styles. Or any other javascript. So I don't know why it exists other than it ISN'T is-horizontal and therefor doesn't trigger any of its styles on the children elements.
If I include the suggested style change:
Adding this to the tabs.css overrides the styles that are established in system.theme.css. This small change elimates the spacing.
In addition, it appears that one can reduce the width of a page to get the make the page enact the javascript that triggers the collapsible tabs. But if you expand the page back to full width the page will not toggle the class out. Therefore this functionality is one way. Should we open a new ticket for that?
Comment #3
manjit.singhI think
can solve our problem. but need to check it in other places also.
Comment #4
manjit.singhComment #5
lewisnymanWe can't make this change in system.theme.css, because it's going to affect every theme, can we make this change in Seven's tabs.css instead? Cheers
Comment #6
vinmassaro commentedHere is a patch with this change to the Seven theme instead, as mentioned in #5.
Comment #7
lewisnymanOk great, this seems to work and doesn't cause any regressions. Thanks!
Comment #8
lewisnymanComment #9
Bojhan commentedAll of the color differences here is a little crazy, we should probably tackle that later. Including all the different paddings.
Comment #10
manjit.singhFantastic !! looks good now :)
Comment #11
alexpottCan we get a followup for #9 - thanks.
This issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 0270b91 and pushed to 8.0.x. Thanks!