small bug in boxes heading display: nowrap missing
mandreiana <[email protected]>
| Newsgroups | gmane.comp.web.oscommerce.devel |
|---|---|
| Message-ID | <2a7276e24166fb8bc25df22e10e03efa@osCommerce-Forums> |
This message was sent from: Development
http://forums.oscommerce.com/viewtopic.php?p=160900#160900
----------------------------------------------------------------
On a 1024x768 display, with the default styhesleets of osc, the infobox 'Shopping Cart' has the text wrapped, using 2 rows, and messes the corners. The infoBoxHeading text should be with nowrap.
Fixed this by adding this to TD.infoBoxHeading stylesheet:
[code] white-space: nowrap;[/code]
It could have also been added in infoBoxHeading constructor, here:
[code]
array('params' => 'width="100%" height="14" class="infoBoxHeading"',
'text' => $contents[0]['text']),
[/code]
but the stylesheet solution is more clear. Now there is a useless nowrap in boxes.php ( left corner )