Skip to content

Commit 0ee67ee

Browse files
author
audrasjb
committed
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. Built from https://develop.svn.wordpress.org/trunk@54149
1 parent c3e1eb0 commit 0ee67ee

File tree

5 files changed

+25
-3
lines changed

5 files changed

+25
-3
lines changed

wp-admin/css/list-tables-rtl.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,17 @@ ul.cat-checklist {
13991399
content: "\f147";
14001400
}
14011401

1402+
.plugin-install-php #the-list {
1403+
display: flex;
1404+
flex-wrap: wrap;
1405+
}
1406+
1407+
.plugin-install-php .plugin-card {
1408+
display: flex;
1409+
flex-direction: column;
1410+
justify-content: space-between;
1411+
}
1412+
14021413
.plugin-install-php h2 {
14031414
clear: both;
14041415
}

wp-admin/css/list-tables-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-admin/css/list-tables.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,17 @@ ul.cat-checklist {
13981398
content: "\f147";
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;
14031414
}

wp-admin/css/list-tables.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '6.1-alpha-54148';
19+
$wp_version = '6.1-alpha-54149';
2020

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

0 commit comments

Comments
 (0)