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:
parent
abee3f00a1
commit
2d5927cb92
|
@ -890,31 +890,32 @@ body #dashboard-widgets .postbox form .submit {
|
||||||
|
|
||||||
#future-posts ul,
|
#future-posts ul,
|
||||||
#published-posts ul {
|
#published-posts ul {
|
||||||
clear: both;
|
margin: 8px -12px 0 -12px;
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#future-posts li,
|
#future-posts li,
|
||||||
#published-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,
|
#future-posts li:nth-child(odd),
|
||||||
#published-posts ul span {
|
#published-posts li:nth-child(odd) {
|
||||||
display: inline-block;
|
background-color: #f6f7f7;
|
||||||
margin-left: 5px;
|
|
||||||
min-width: 150px;
|
|
||||||
color: #646970;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity-block {
|
.activity-block {
|
||||||
border-bottom: 1px solid #f0f0f1;
|
border-bottom: 1px solid #f0f0f1;
|
||||||
margin: 0 -12px;
|
margin: 0 -12px 6px -12px;
|
||||||
padding: 8px 12px 4px;
|
padding: 8px 12px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity-block:last-child {
|
.activity-block:last-child {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity-block .subsubsub li {
|
.activity-block .subsubsub li {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -889,31 +889,32 @@ body #dashboard-widgets .postbox form .submit {
|
||||||
|
|
||||||
#future-posts ul,
|
#future-posts ul,
|
||||||
#published-posts ul {
|
#published-posts ul {
|
||||||
clear: both;
|
margin: 8px -12px 0 -12px;
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#future-posts li,
|
#future-posts li,
|
||||||
#published-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,
|
#future-posts li:nth-child(odd),
|
||||||
#published-posts ul span {
|
#published-posts li:nth-child(odd) {
|
||||||
display: inline-block;
|
background-color: #f6f7f7;
|
||||||
margin-right: 5px;
|
|
||||||
min-width: 150px;
|
|
||||||
color: #646970;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity-block {
|
.activity-block {
|
||||||
border-bottom: 1px solid #f0f0f1;
|
border-bottom: 1px solid #f0f0f1;
|
||||||
margin: 0 -12px;
|
margin: 0 -12px 6px -12px;
|
||||||
padding: 8px 12px 4px;
|
padding: 8px 12px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity-block:last-child {
|
.activity-block:last-child {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activity-block .subsubsub li {
|
.activity-block .subsubsub li {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue