Make WordPress Core

Changeset 47271


Ignore:
Timestamp:
02/11/2020 07:16:57 PM (5 years ago)
Author:
jorgefilipecosta
Message:

Upload: Fix Plugin and Theme upload form are misaligned.

This commit makes sure that when uploading a plugin or theme file, the Install Now button is correctly aligned, and the button does not drops to the next line if filename is long.

Props seedsca, SergeyBiryukov, audrasjb.
Fixes #48859.

File:
1 edited

Legend:

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

    r46866 r47271  
    10501050    margin: 30px auto;
    10511051    max-width: 380px;
    1052 }
     1052    display: flex;
     1053}
     1054
     1055.upload-theme .wp-upload-form > input[type="file"],
     1056.upload-plugin .wp-upload-form > input[type="file"] {
     1057    padding: 5px 1em 0 0;
     1058}
     1059
    10531060.upload-theme .install-help,
    10541061.upload-plugin .install-help {
Note: See TracChangeset for help on using the changeset viewer.