Administration: Improve alignment in the Activity dashboard widget.

This changeset sets column layout to posts listed in the Activity dashboard widget to prevent alignement issues on line breaks.

Props sumitsingh, dhrumilk, chiragrathod103, kebbet, audrasjb, pooja1210.
Fixes #58114.


Built from https://develop.svn.wordpress.org/trunk@55889


git-svn-id: http://core.svn.wordpress.org/trunk@55401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-06-07 07:09:19 +00:00
parent abee3f00a1
commit 2d5927cb92
5 changed files with 25 additions and 23 deletions

View File

@ -890,31 +890,32 @@ body #dashboard-widgets .postbox form .submit {
#future-posts ul,
#published-posts ul {
clear: both;
margin-bottom: 0;
margin: 8px -12px 0 -12px;
}
#future-posts li,
#published-posts li {
margin-bottom: 8px;
display: grid;
grid-template-columns: clamp(160px, calc(2vw + 140px), 200px) auto;
column-gap: 10px;
color: #646970;
padding: 4px 12px;
}
#future-posts ul span,
#published-posts ul span {
display: inline-block;
margin-left: 5px;
min-width: 150px;
color: #646970;
#future-posts li:nth-child(odd),
#published-posts li:nth-child(odd) {
background-color: #f6f7f7;
}
.activity-block {
border-bottom: 1px solid #f0f0f1;
margin: 0 -12px;
margin: 0 -12px 6px -12px;
padding: 8px 12px 4px;
}
.activity-block:last-child {
border-bottom: none;
margin-bottom: 0;
}
.activity-block .subsubsub li {

File diff suppressed because one or more lines are too long

View File

@ -889,31 +889,32 @@ body #dashboard-widgets .postbox form .submit {
#future-posts ul,
#published-posts ul {
clear: both;
margin-bottom: 0;
margin: 8px -12px 0 -12px;
}
#future-posts li,
#published-posts li {
margin-bottom: 8px;
display: grid;
grid-template-columns: clamp(160px, calc(2vw + 140px), 200px) auto;
column-gap: 10px;
color: #646970;
padding: 4px 12px;
}
#future-posts ul span,
#published-posts ul span {
display: inline-block;
margin-right: 5px;
min-width: 150px;
color: #646970;
#future-posts li:nth-child(odd),
#published-posts li:nth-child(odd) {
background-color: #f6f7f7;
}
.activity-block {
border-bottom: 1px solid #f0f0f1;
margin: 0 -12px;
margin: 0 -12px 6px -12px;
padding: 8px 12px 4px;
}
.activity-block:last-child {
border-bottom: none;
margin-bottom: 0;
}
.activity-block .subsubsub li {

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.3-alpha-55888';
$wp_version = '6.3-alpha-55889';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.