Re: Patch for the new prototype PHP.net website: Solving the text overflow problem with long function names in the side menu

From: Date: Sat, 30 Jul 2011 06:09:19 +0000
Subject: Re: Patch for the new prototype PHP.net website: Solving the text overflow problem with long function names in the side menu
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11805@lists.php.net to get a copy of this message
On 2011-07-29, at 4:18 AM, Wadim Grasza wrote: > Function names can be long strings with no spaces and tend to overflow > outside of their bounding boxes when their in narrow columns such as > the side menu. Generally, we want to avoid overflowing, so we put > "overflow: hidden" style applied to their containers. This results in > long function names being visually truncated and it's impossible to > see them in their full length. This patch changes this behaviour, > adding a simple style definition "element:hover { overflow: visible }" > making the function names expand when the user hovers over them. It > also buys them a little more horizontal space by decreasing the > unnecessary left padding. Hi Wadim, thanks for the patch. Wojak is currently working on the doc styles and I'm sure he'll try to work this fix in. Another option might be to set a break-word rule. Stew

« previous php.webmaster (#11805) next »