Re: Line breaks on long class::method names.
| From: | Stewart Lord | Date: | Tue, 08 Jan 2013 17:04:32 +0000 |
| Subject: | Re: Line breaks on long class::method names. | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-15241@lists.php.net to get a copy of this message | ||
Did you try css break word? It would be simpler, but it would break in a less controlled way.
On Jan 8, 2013, at 6:35 AM, Paul Dragoonis wrote:
> I have created a patch that existed on the old php.net but not on the new one. basically it
> injects a hidden <span> after the "::" characters so the method name bumps onto the
> next line if the width is too large.
>
> See this screenshot: http://puu.sh/1LcK0
>
> Are you guys happy with this solution? I nobody has came up with anything better as of yet so
> I'd like to commit this change.
>
> Thanks,
> Paul.