[PATCH conductor 0/1] #781286 - Fix overlapping image title

Tzu-Mainn Chen tzumainn at redhat.com
Mon Feb 20 19:52:10 UTC 2012


ACK

----- Original Message -----
From: "Matt Wagner" <matt.wagner at redhat.com>
To: aeolus-devel at lists.fedorahosted.org
Sent: Thursday, February 16, 2012 3:24:32 PM
Subject: [PATCH conductor 0/1] #781286 - Fix overlapping image title


A while back, I included a CSS hack to set "width: 490px" on h1's, since it was the maximum width we could use before we started to overlap with the buttons in the headers of various pages.

On the images page, if you have an exceptionally long name for an image, it will again overlap. This is more of a problem on the product branch, where all of the buttons have longer names that cause them to take up additional room.

I spent close to an hour trying various CSS wizardry trying to get something more graceful to happen, like causing the "Return to Component Outlines" link to wrap to appear under the buttons in the event that the text started to overlap with it. I eventually conceded that my CSS "wizardry" wasn't what I wished it was, and went for a cheaper, but faster and more effective fix -- h1.images now has "width: 350px" which causes it to wrap appropriately. Because it's targeted only at the H1 on the images page, the issues with text on other pages wrapping is mitigated.

This patch applies to the main "0.9-maint" branch, but should get backported to the product branch as well.

-- Matt



More information about the aeolus-devel mailing list