Skip to content

Commit

Permalink
Plugins: Visually align plugin cards in Plugin Install screen.
Browse files Browse the repository at this point in the history
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.

Built from https://develop.svn.wordpress.org/trunk@54149
  • Loading branch information
audrasjb committed Sep 13, 2022
1 parent c3e1eb0 commit 0ee67ee
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 3 deletions.
11 changes: 11 additions & 0 deletions wp-admin/css/list-tables-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1399,6 +1399,17 @@ ul.cat-checklist {
content: "\f147";
}

.plugin-install-php #the-list {
display: flex;
flex-wrap: wrap;
}

.plugin-install-php .plugin-card {
display: flex;
flex-direction: column;
justify-content: space-between;
}

.plugin-install-php h2 {
clear: both;
}
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/css/list-tables-rtl.min.css

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions wp-admin/css/list-tables.css
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,17 @@ ul.cat-checklist {
content: "\f147";
}

.plugin-install-php #the-list {
display: flex;
flex-wrap: wrap;
}

.plugin-install-php .plugin-card {
display: flex;
flex-direction: column;
justify-content: space-between;
}

.plugin-install-php h2 {
clear: both;
}
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/css/list-tables.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-54148';
$wp_version = '6.1-alpha-54149';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

0 comments on commit 0ee67ee

Please sign in to comment.