Admin: Switch plugin card buttons to compact size.

Following the admin reskin, the larger buttons in plugin cards caused an existing potential for text overlap to happen more easily. Switching to compact size restores prior behavior.

Props hiroshisato, audrasjb, huzaifaalmesbah, shailu25, joedolson.
Fixes #64686.
Built from https://develop.svn.wordpress.org/trunk@61729


git-svn-id: http://core.svn.wordpress.org/trunk@61036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson
2026-02-24 22:54:39 +00:00
parent 1802bd631a
commit 09b8e12b1f
5 changed files with 19 additions and 5 deletions

View File

@@ -1425,7 +1425,7 @@ ul.cat-checklist input[name="post_category[]"]:indeterminate::before {
content: "\f463";
content: "\f463" / '';
display: inline-block;
font: normal 20px/1.9 dashicons; /* line-height 1.9 = 38px to match button */
font: normal 16px/1.875 dashicons; /* line-height 1.875 = 30px to match button */
margin: 0 -2px 0 5px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@@ -1568,6 +1568,13 @@ div.action-links,
margin: 0; /* Override existing margins */
}
/* Use compact size for space-constrained plugin cards */
.plugin-action-buttons li .button {
min-height: 32px;
line-height: 2.30769231; /* 30px for 32px min-height */
padding: 0 12px;
}
.plugin-card h3 {
margin: 0 0 12px 12px;
font-size: 18px;

File diff suppressed because one or more lines are too long

View File

@@ -1424,7 +1424,7 @@ ul.cat-checklist input[name="post_category[]"]:indeterminate::before {
content: "\f463";
content: "\f463" / '';
display: inline-block;
font: normal 20px/1.9 dashicons; /* line-height 1.9 = 38px to match button */
font: normal 16px/1.875 dashicons; /* line-height 1.875 = 30px to match button */
margin: 0 5px 0 -2px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@@ -1567,6 +1567,13 @@ div.action-links,
margin: 0; /* Override existing margins */
}
/* Use compact size for space-constrained plugin cards */
.plugin-action-buttons li .button {
min-height: 32px;
line-height: 2.30769231; /* 30px for 32px min-height */
padding: 0 12px;
}
.plugin-card h3 {
margin: 0 12px 12px 0;
font-size: 18px;

File diff suppressed because one or more lines are too long

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-beta1-61728';
$wp_version = '7.0-beta1-61729';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.