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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user