Make WordPress Core

Ticket #58756: 58756-2.diff

File 58756-2.diff, 1.4 KB (added by antpb, 3 years ago)

refreshed patch

  • src/wp-admin/css/media.css

     
    899899}
    900900
    901901.imgedit-panel-content {
    902         display: grid;
    903         grid-template-columns: 1fr;
     902        display: flex;
     903        flex-wrap: wrap;
    904904        gap: 20px;
     905        margin-bottom: 20px;
    905906}
    906907
    907 @media screen and (min-width: 1200px) {
    908         .imgedit-panel-content.imgedit-panel-tools {
    909                 grid-template-columns: 50% 50%;
    910         }
    911 }
    912 
    913908.imgedit-settings {
    914909        max-width: 400px; /* Prevent reflow when help info is expanded. */
    915910}
     
    1001996        padding: 0 10px;
    1002997}
    1003998
     999.imgedit-menu .button:after,
    10041000.imgedit-menu .button:before {
    10051001        font: normal 16px/1 dashicons;
    10061002        margin-right: 8px;
     
    10121008        -moz-osx-font-smoothing: grayscale;
    10131009}
    10141010
     1011.imgedit-menu .imgedit-rotate.button:after {
     1012        content: '\f140';
     1013        margin-left: 2px;
     1014        margin-right: 0;
     1015}
     1016
     1017.imgedit-menu .imgedit-rotate.button[aria-expanded="true"]:after {
     1018        content: '\f142';
     1019}
     1020
    10151021.imgedit-menu .button.disabled {
    10161022        color: #a7aaad;
    10171023        border-color: #dcdcde;
     
    11211127}
    11221128
    11231129.imgedit-popup-menu {
    1124         width: fit-content;
     1130        width: calc( 100% - 20px );
    11251131        position: absolute;
    1126         left: calc( 100% + 4px );
    1127         top: -3px;
     1132        background: #fff;
     1133        padding: 10px;
     1134        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    11281135}
    11291136
    11301137.image-editor .imgedit-menu .imgedit-popup-menu button {