Plugins: Make the appearance of plugin action links on Add Plugins screen more consistent.

This ensures that the "More Details" link does not randomly wrap to a second line depending on the length of the button label above.

Props sabernhardt, kharisblank, Otto42, paresh07.
Fixes #48648.
Built from https://develop.svn.wordpress.org/trunk@48120


git-svn-id: http://core.svn.wordpress.org/trunk@47889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-06-22 15:30:18 +00:00
parent 2349d1f999
commit 7dbc898342
5 changed files with 5 additions and 7 deletions

View File

@ -1449,7 +1449,7 @@ div.action-links,
.plugin-card .name, .plugin-card .name,
.plugin-card .desc { .plugin-card .desc {
margin-right: 148px; /* icon + margin */ margin-right: 148px; /* icon + margin */
margin-left: 120px; /* action links */ margin-left: 128px; /* action links + margin */
} }
.plugin-card .action-links { .plugin-card .action-links {
@ -1462,7 +1462,6 @@ div.action-links,
.plugin-action-buttons { .plugin-action-buttons {
clear: left; clear: left;
float: left; float: left;
margin-right: 2em;
margin-bottom: 1em; margin-bottom: 1em;
text-align: left; text-align: left;
} }

File diff suppressed because one or more lines are too long

View File

@ -1448,7 +1448,7 @@ div.action-links,
.plugin-card .name, .plugin-card .name,
.plugin-card .desc { .plugin-card .desc {
margin-left: 148px; /* icon + margin */ margin-left: 148px; /* icon + margin */
margin-right: 120px; /* action links */ margin-right: 128px; /* action links + margin */
} }
.plugin-card .action-links { .plugin-card .action-links {
@ -1461,7 +1461,6 @@ div.action-links,
.plugin-action-buttons { .plugin-action-buttons {
clear: right; clear: right;
float: right; float: right;
margin-left: 2em;
margin-bottom: 1em; margin-bottom: 1em;
text-align: right; text-align: right;
} }

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.5-alpha-48119'; $wp_version = '5.5-alpha-48120';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.