Skip to content

Commit 7d0ff79

Browse files
committed
Editor: Improve spacing and alignment of post status controls.
Switch status select dropdown to full width and move OK and cancel buttons below, for consistency with other controls. This change improves internationalization support by not restricting the space available for controls as severely. Props poligilad, tyxla, fcoveram, joedolson. Fixes #65532. git-svn-id: https://develop.svn.wordpress.org/trunk@62606 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 980fa87 commit 7d0ff79

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/wp-admin/css/edit.css

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,17 @@ form#tags-filter {
751751
margin: 12px 0 0;
752752
}
753753

754+
#post-status-select select {
755+
display: block;
756+
margin-bottom: 8px;
757+
width: 100%;
758+
}
759+
760+
#post-status-select .save-post-status,
761+
#post-status-select .cancel-post-status {
762+
vertical-align: middle;
763+
}
764+
754765
#linksubmitdiv .inside, /* Old Link Manager back-compat. */
755766
#poststuff #submitdiv .inside {
756767
margin: 0;
@@ -1937,12 +1948,17 @@ table.links-table {
19371948
line-height: 1.5;
19381949
}
19391950

1951+
.wp-core-ui #post-status-select .save-post-status.button,
19401952
.wp-core-ui .save-post-visibility,
19411953
.wp-core-ui .save-timestamp {
19421954
vertical-align: middle;
19431955
margin-right: 15px;
19441956
}
19451957

1958+
.wp-core-ui #post-status-select .save-post-status.button {
1959+
margin-left: 0;
1960+
}
1961+
19461962
.timestamp-wrap select#mm {
19471963
display: block;
19481964
width: 100%;

0 commit comments

Comments
 (0)