Make WordPress Core

Changeset 54149


Ignore:
Timestamp:
09/13/2022 09:49:14 PM (2 years ago)
Author:
audrasjb
Message:

Plugins: Visually align plugin cards in Plugin Install screen.

This changeset adds a flexible CSS columns layout to plugin cards in the Plugin Install screen, to ensure plugin cards all have the same height.

Props jamesckemp, audrasjb, joyously, sabernhardt, sharjeelkhanvmi, joyously.
Fixes #55721.
See #55272.

File:
1 edited

Legend:

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

    r53726 r54149  
    13991399}
    14001400
     1401.plugin-install-php #the-list {
     1402    display: flex;
     1403    flex-wrap: wrap;
     1404}
     1405
     1406.plugin-install-php .plugin-card {
     1407    display: flex;
     1408    flex-direction: column;
     1409    justify-content: space-between;
     1410}
     1411
    14011412.plugin-install-php h2 {
    14021413    clear: both;
Note: See TracChangeset for help on using the changeset viewer.