WordPress/gutenberg

Meta boxes: update core styles to match Gutenberg's

Open

#12.101 aperta il 20 nov 2018

Vedi su GitHub
 (12 commenti) (3 reazioni) (0 assegnatari)JavaScript (3893 fork)batch import
CSS StylingGood First IssueNeeds Dev[Feature] Meta Boxes[Type] Enhancement

Metriche repository

Star
 (9607 star)
Metriche merge PR
 (Merge medio 12g 18h) (509 PR mergiate in 30 g)

Descrizione

Description Default meta boxes in Gutenberg have a different style than other components.

The out-of-date styles are coming from here: https://github.com/WordPress/gutenberg/blob/3d3c2a4d52903131f68d2694bd551408561fa778/packages/edit-post/src/components/meta-boxes/meta-boxes-area/style.scss

To Reproduce Steps to reproduce the behavior:

  1. Install Jetpack and/or ACF.
  2. Go to Posts > Add New
  3. Notice:
  • Sharing meta box in the sidebar
  • ACF meta box

Expected behavior To have all components styled equally and consistently.

Screenshots

Desktop:

  • MacOS Version 10.14 (18A391)
  • Chrome Version 70.0.3538.102 (Official Build) (64-bit)

Additional context

  • Gutenberg Version 4.4.0
  • WordPress Version 4.9.8
  • Jetpack Version 6.7

Guida contributor