Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#26224 closed defect (bug) (invalid)

WP 3.8-beta1 - MP6: too small margin when using do_settings_fields()

Reported by: harmr's profile harmr Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

I am using do_settings_fields() within my settings panel (plugin Leaflet Maps Marker) to generate tables with all available options.
Since WP3.8-beta1/MP6 the margin-left is broken: http://pro.mapsmarker.com/margin-broken.png

Changing the .form-table th / padding to 20px 10px 20px 15px would solve this issue: http://pro.mapsmarker.com/margin-working.png

As I am using do_settings_fields() to generate the table, I dont know how else I could add the margin needed here.
Any help here would be appreciated!
thx,

Robert

Change History (1)

#1 @helen
10 years ago

  • Keywords mp6 removed
  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Settings form table styles are not built with a tabbed interface like that in mind. You'll want to add your own CSS to cope - what you really want is probably some kind of padding inside tab-content, because all content within should have a margin.

Note: See TracTickets for help on using tickets.