Closed (won't fix)
Project:
Panels
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
3 Apr 2007 at 01:45 UTC
Updated:
14 Jan 2008 at 12:56 UTC
Jump to comment: Most recent file
Don't have a lot of time. Here is a quick patch for 5.x-1.x. I had some weird spacing in Panels where everything was double-spaced, so this patch may be bunk. Let me know.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | panels_css_5.1.x.patch | 16.62 KB | recidive |
| #4 | panels_2.patch | 7.64 KB | xen |
| #2 | panels.css_.2.x.patch | 24.39 KB | RobRoy |
| #1 | panels.css__0.patch | 24.45 KB | RobRoy |
| panels.css_.patch | 24.45 KB | RobRoy |
Comments
Comment #1
RobRoy commentedFixed one div thing, for 5.x-1.x still.
Comment #2
RobRoy commentedSorry, these are pretty sloppy. I had some IE7 fixes in some of them, but might need another IE7 passthrough. That's what the 47% stuff is for in twocol_stacked. Hopefully someone else can do that, if not I'll gve it another go when time permits.
Here is a 5.x-2.x slopfest.
Comment #3
merlinofchaos commentedHmm. For some reason, this patch fails to apply, though I can't figure out why. I'm wondering if it's cr/lf translation going on somewhere that's throwing off diff, because the patch doesn't look quite properly formed.
Comment #4
xen commentedTry this one instead, looking through RobRoys patch, I seem to be doing the same thing. Hopefully I've made the patch properly.
The problem is in the CSS selectors:
which matches not only the div containing the panel, but all nested divs. Using the child selector '>', fixes the issue in Firefox and other browsers, but IE6 doesn't understand it. Adding a class for the panel content div and selecting on that instead, works for all browsers.
Patch against 5.x-1.2.
Comment #5
recidive commentedIt seems the problem with RobRoy's patches is that almost every single line of layouts code has a trailing space and his patches get rid of them.
Xen.dk's patch uses another approach. I think RobRoy's one is better.
A big +1 to this, I had to hack panels module on my projects to get rid of those margins.
Comment #6
recidive commentedI was partially wrong about the trailing spaces stuff, it applies only to css files.
It seems panels .inc files has Windows line endings. I've rerolled the patch so you can clearly see the changes on those files.
Comment #7
catchThis has all changed anyway, so won't fixing.