mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-21 23:11:53 +01:00
Plugins: Fix an overlap issue with plugin cards dependencies notice.
This changeset fixes an issue where plugin card dependencies notice and plugin icon were overlapping in some cases. Props costdev, euthelup, shailu25, desrosj, swissspidy, audrasjb. Fixes #60501. Built from https://develop.svn.wordpress.org/trunk@57776 git-svn-id: http://core.svn.wordpress.org/trunk@57277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c1c58041a2
commit
c624bd4dbb
@ -1596,10 +1596,8 @@ div.action-links,
|
||||
display: none;
|
||||
}
|
||||
|
||||
.plugin-card .plugin-dependencies {
|
||||
background-color: #e5f5fa;
|
||||
border-right: 3px solid #72aee6;
|
||||
margin-bottom: .5em;
|
||||
.plugin-card .notice.plugin-dependencies {
|
||||
margin: auto 20px 20px;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
|
2
wp-admin/css/list-tables-rtl.min.css
vendored
2
wp-admin/css/list-tables-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1595,10 +1595,8 @@ div.action-links,
|
||||
display: none;
|
||||
}
|
||||
|
||||
.plugin-card .plugin-dependencies {
|
||||
background-color: #e5f5fa;
|
||||
border-left: 3px solid #72aee6;
|
||||
margin-bottom: .5em;
|
||||
.plugin-card .notice.plugin-dependencies {
|
||||
margin: auto 20px 20px;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
|
2
wp-admin/css/list-tables.min.css
vendored
2
wp-admin/css/list-tables.min.css
vendored
File diff suppressed because one or more lines are too long
@ -673,8 +673,13 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||
<p><?php echo $description; ?></p>
|
||||
<p class="authors"><?php echo $author; ?></p>
|
||||
</div>
|
||||
<?php echo $this->get_dependencies_notice( $plugin ); ?>
|
||||
</div>
|
||||
<?php
|
||||
$dependencies_notice = $this->get_dependencies_notice( $plugin );
|
||||
if ( ! empty( $dependencies_notice ) ) {
|
||||
echo $dependencies_notice;
|
||||
}
|
||||
?>
|
||||
<div class="plugin-card-bottom">
|
||||
<div class="vers column-rating">
|
||||
<?php
|
||||
@ -780,7 +785,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
$dependencies_notice = sprintf(
|
||||
'<div class="plugin-dependencies"><p class="plugin-dependencies-explainer-text">%s</p> %s</div>',
|
||||
'<div class="plugin-dependencies notice notice-alt notice-info inline"><p class="plugin-dependencies-explainer-text">%s</p> %s</div>',
|
||||
'<strong>' . __( 'Additional plugins are required' ) . '</strong>',
|
||||
$dependencies_list
|
||||
);
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-beta3-57775';
|
||||
$wp_version = '6.5-beta3-57776';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user