WordPress/gutenberg

Meta boxes: update core styles to match Gutenberg's

Open

#12,101 创建于 2018年11月20日

在 GitHub 查看
 (12 评论) (3 反应) (0 负责人)JavaScript (3,893 fork)batch import
CSS StylingGood First IssueNeeds Dev[Feature] Meta Boxes[Type] Enhancement

仓库指标

Star
 (9,607 star)
PR 合并指标
 (平均合并 12天 18小时) (30 天内合并 509 个 PR)

描述

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

贡献者指南