Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#26224 closed defect (bug) (invalid)

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

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

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
13 years ago

  • Keywords mp6 removed
  • Milestone Awaiting Review
  • Resolution → invalid
  • Status new → 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.