Download & Extend

Chameleon content width CSS in Safari

Project:Chameleon
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Safari won't render the main content area at a proper width. A change was made which fixed the width issue on Safari while creating no noticeable change on IE or Firefox.

themes/chameleon/common.css

Original:
#content {
clear: both;
}

Changed:
#content {
width: 100%;
clear: both;
}

Comments

#1

Version:4.6.0» x.y.z
Status:active» needs review

Patch attached. Untested (not a Mac man).

AttachmentSize
common_safari_fix.css.patch 470 bytes

#2

Version:x.y.z» 4.6.4

That patch didn't fix the issue. Now instead of the middle content shrinking, the left column expands when you expand the browser window in both Safari and Firefox.

#3

Ok, for me this is what fixed it (YMMV):
In common.css:

DELETED
#header {
margin-bottom: 2em;
}

MODIFIED
#header img {
float: left;
padding: 0em 2em .5em 0em;
}

TO
#header img {
padding: 0em 2em .5em 0em;
}

#4

Solution offered in post #3 does indeed work. Thanks!

#5

Version:4.6.4» x.y.z

Because the common.css did not have big changes, I'm putting this in HEAD to call for a much wider attention for reviews from Safari users.

#6

Status:needs review» needs work

needs new patch as per comments #2, #3 and #4.
I don't have Safari, so I will only be able to test that the patch doesn't adversely affect my browser:
Safari users will be needed to review the new patch when it comes.

#7

see this if needed: http://drupal.org/patch

#8

Version:x.y.z» 7.x-dev

This bug is it still valid ?

#9

Project:Drupal core» Chameleon
Version:7.x-dev» 7.x-1.x-dev
Component:theme system» Code
Status:needs work» closed (fixed)

This bug is it still valid ?

Since Chameleon has been removed from D7, no. :-)

And I haven't seen any Safari issues for Chameleon, but feel free to re-open if I'm wrong.

nobody click here