mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-13 05:10:18 +00:00
Accessibility: Improve reordering of the post boxes in the block editor meta boxes area.
Follow-up to [48373]. - ignores hidden "sortables" areas - hides the reorder buttons when there's only one post box - makes the reorder buttons slightly bigger to match the side of the toggle button Fixes #39074. git-svn-id: https://develop.svn.wordpress.org/trunk@48460 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2011,6 +2011,7 @@ html.wp-toolbar {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Post box order and toggle buttons. */
|
||||
.postbox .handle-order-higher,
|
||||
.postbox .handle-order-lower,
|
||||
.postbox .handlediv {
|
||||
@@ -2028,6 +2029,14 @@ html.wp-toolbar {
|
||||
color: #72777c;
|
||||
}
|
||||
|
||||
/* Post box order buttons in the block editor meta boxes area. */
|
||||
.edit-post-meta-boxes-area .postbox .handle-order-higher,
|
||||
.edit-post-meta-boxes-area .postbox .handle-order-lower {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
color: #191e23
|
||||
}
|
||||
|
||||
.postbox .handle-order-higher[aria-disabled="true"],
|
||||
.postbox .handle-order-lower[aria-disabled="true"] {
|
||||
cursor: default;
|
||||
|
||||
Reference in New Issue
Block a user