Make WordPress Core

Changeset 58352

Timestamp:
06/05/2024 07:55:45 PM (2 months ago)
Author:
joedolson
Message:

Media: Prevent shifting on details update in media modal.

Fix issue where the image details would shift position during AJAX updates in the media modal. Occurred when the Attachment Details heading was translated into a language where the text no longer alowed space for the 'Saved' message to the right of the message.

Props pavelevap, SergeyBiryukov, antpb, joedolson, shailu25.
Fixes #27914.

File:
1 edited

Legend:

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

    r58249 r58352  
    383383}
    384384
     385
     386
     387
     388
     389
    385390.media-sidebar .collection-settings .setting {
    386391    margin: 1px 0;
     
    17241729}
    17251730
     1731
     1732
     1733
     1734
     1735
     1736
    17261737.media-frame.mode-grid .spinner {
    17271738    margin: 0;
     
    17531764
    17541765.attachment-details .settings-save-status {
    1755     float: right;
     1766    : right;
    17561767    text-transform: none;
    17571768    font-weight: 400;
Note: See TracChangeset for help on using the changeset viewer.