Make WordPress Core

Changeset 62606


Ignore:
Timestamp:
06/30/2026 10:03:32 PM (3 months ago)
Author:
joedolson
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/edit.css

    r62605 r62606  
    750750#post-visibility-select p {
    751751        margin: 12px 0 0;
     752}
     753
     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;
    752763}
    753764
     
    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;
     1956        }
     1957
     1958        .wp-core-ui #post-status-select .save-post-status.button {
     1959                margin-left: 0;
    19441960        }
    19451961
Note: See TracChangeset for help on using the changeset viewer.