Make WordPress Core

Changeset 53162


Ignore:
Timestamp:
04/12/2022 04:48:49 PM (23 months ago)
Author:
joedolson
Message:

Media: Fix editing controls covering image edit region.

Move the editing control sidebar for mobile image editing below the image edit region so image is not obscured.

Props mor10, HristoK, certainstrings, joedolson.
Fixes #30154.

File:
1 edited

Legend:

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

    r52196 r53162  
    12691269        font-size: 14px;
    12701270    }
     1271
     1272    /* Restructure image editor on narrow viewports. */
     1273    .imgedit-crop-wrap img{
     1274        width: 100%;
     1275    }
     1276
     1277    .media-modal .imgedit-wrap .imgedit-panel-content,
     1278    .media-modal .imgedit-wrap .imgedit-settings {
     1279        position: initial !important;
     1280    }
     1281
     1282    .media-modal .imgedit-wrap .imgedit-settings {
     1283        box-sizing: border-box;
     1284        width: 100% !important;
     1285    }
     1286
     1287    .imgedit-settings .imgedit-scale-button-wrapper {
     1288        display: inline-block;
     1289    }
    12711290}
    12721291
Note: See TracChangeset for help on using the changeset viewer.