redux-framework icon indicating copy to clipboard operation
redux-framework copied to clipboard

Vertical space between main and child section

Open Zigson opened this issue 12 years ago • 19 comments

Hi,

can you please take a look at enclosed screenshot? We are really having large vertical space there, is this fixable? I was looking at code and there is a table below.

screen shot 2014-01-30 at 21 09 07

I can also paste my code from config.php if needed. Perhaps I did something wrong.

Can I just hide that table with CSS?

Zigson avatar Jan 30 '14 20:01 Zigson

Are you using the plugin from wordpress.org or the code here? What browser? What OS?

dovy avatar Jan 30 '14 20:01 dovy

Code here. Chrome 33.0.1750.46 beta Mac OS X 10.9.1

I am using my own stylesheet but not overriding elements any of that kind.

Zigson avatar Jan 30 '14 20:01 Zigson

Odd, I have chrome as well. 32.0.1700.102, osx.

Maybe it's a chrome beta issue?

dovy avatar Jan 30 '14 20:01 dovy

It is the same in FF and Safari, I don't think it is browser's issue.

What is the empty table doing below? :)

Zigson avatar Jan 30 '14 20:01 Zigson

I don't see an empty table. Let's take a look at your config. Let's do a http://gist.github.com

dovy avatar Jan 30 '14 20:01 dovy

I see the table below section description:

Here is the config.php:

https://gist.github.com/Zigson/b8443fd14539655db42a

Zigson avatar Jan 30 '14 20:01 Zigson

I'll take a look at it sometime soon. Sorry, a bit tied right now.

dovy avatar Jan 30 '14 21:01 dovy

No problem, I understand. And it is not such a big issue. Thanks.

Zigson avatar Jan 30 '14 21:01 Zigson

@zigson I'll be tracking a look at your issue this afternoon. Thanks for your patience!

evertiro avatar Feb 03 '14 18:02 evertiro

Great. I think there is an empty fieldset generated above and this is causing vertical space.

Zigson avatar Feb 03 '14 18:02 Zigson

Any progress on this @ghost1227 ?

kprovance avatar Feb 12 '14 03:02 kprovance

Not really... I've tested 100 ways to sunday, so to speak, and using his exact config i can duplicate it... writing my own with the same fields I can't... not sure what's causing it. I'd appreciate any insight you may have though.

evertiro avatar Feb 12 '14 04:02 evertiro

Okay, lemme run his config and see if I can break it.

kprovance avatar Feb 12 '14 04:02 kprovance

It's a CSS issue, but I'm not sure where the fault lies in this case. When I loaded the OP's config file, it looked fine. However, I went into dev tools and unchecked padding: 0 under .form-table th, form-table td and the end result was the screenshot above. So...hmmmm. Is that bit of CSS missing? I checked, and I see it there.

I do know the config file is not from a recent version of Redux, so, I can only offer the stock answer of upgrading to the latest repo version and see what happens from there. Perhaps instead of overwriting the old version, I would backup the old version and install fresh. See if that makes any difference. Create a new ticket if problems persists. :)

kprovance avatar Feb 12 '14 04:02 kprovance

The problem isn't CSS related, but it's worth rebuilding with the newest version. The issue is that his config is creating a blank table row below the header, as if it has an extra field, but there's no content.

evertiro avatar Feb 12 '14 07:02 evertiro

@ghost1227 I added a jquery snippet to remove the next table row inside the section field php file. Same can be used to remove the extra table row there.

tpaksu avatar Feb 12 '14 07:02 tpaksu

I think I just fixed it. Give it a try.

dovy avatar Feb 12 '14 19:02 dovy

Confirmed, this is fixed. Thank you guys.

Zigson avatar Feb 13 '14 13:02 Zigson

Awesome. ;)

dovy avatar Feb 13 '14 14:02 dovy