Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
JohnAlbinGood catch!
Fixed http://drupalcode.org/project/zen.git/commitdiff/cf30ba3
Comment #2
JohnAlbinBetter title