Hi,

I had a small problem with the rounded corners not being displayed for panels on my localhost, but they were OK on my live site. I eventually found that it was a very simple fix. The path on my localhost for this particular site contained a space in one of the directories. My solution was therefore to add quotes around the generated css in plugins/styles/corners/rounded_corners.inc. For example, the current version has:

background: url($url/shadow-t.png) repeat-x 0 top;

whereas it is safer and more generic to have:

background: url('$url/shadow-t.png') repeat-x 0 top;

to cater for the cases where the url contains a blank.

I will attach a patch for 6.x-3.x-dev to make this change in the six places in plugins/styles/corners/rounded_corners.inc

Great modules, CTools and Panels. So slick and powerful, very helpful for developers. Thank you.

Jonathan

Comments

jonathan1055’s picture

Status: Active » Needs review
StatusFileSize
new1.32 KB

Here's a patch against dev dated 8th June.

merlinofchaos’s picture

Status: Needs review » Fixed

Seems reasonable. Committed.

jonathan1055’s picture

Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.