Posted by bluehut on May 8, 2012 at 5:46pm
3 followers
Jump to:
| Project: | Zen |
| Version: | 7.x-5.0 |
| Component: | layout.css |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Width of #content with no sidebars overflows its parent container (#main). This is due to both #main and #content having their widths set to the same value ($zen-grid-width) while not accounting for #content having margins based on $zen-gutter-width.
There seems to be no need to set the width of #content when no sidebars are displayed.
Fix is to remove the following code from fixed-width.sccs:
/*
* The layout when there are no sidebars.
*/
#content {
width: $zen-grid-width;
}
Comments
#1
Good catch!
Fixed http://drupalcode.org/project/zen.git/commitdiff/cf30ba3
#2
Better title
#3
Automatically closed -- issue fixed for 2 weeks with no activity.