Bundled Themes: Update calendar widget styles for 5.4 markup to fix the alignment of a single month link.

Follow-up to [47405].

Props sabernhardt.
Reviewed by ianbelanger, SergeyBiryukov.
Fixes #49549.

git-svn-id: https://develop.svn.wordpress.org/trunk@47444 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-03-10 20:51:46 +00:00
parent 6095b4467a
commit 01ad44e871
8 changed files with 33 additions and 6 deletions

View File

@ -1964,6 +1964,10 @@ section.ephemera .entry-title a span {
display: table-cell;
text-align: center;
}
.widget_calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-next {
width: 40%;
}
/* Text Widget */
.widget_text ul,

View File

@ -1415,8 +1415,9 @@ img.aligncenter {
display: table-cell;
}
.widget_calendar .wp-calendar-nav .pad {
width: 15%;
.widget_calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-next {
width: 40%;
}
.widget_calendar td,

View File

@ -94,4 +94,9 @@
padding: 0.5em;
}
}
.wp-calendar-nav-prev,
.wp-calendar-nav-next {
width: 40%;
}
}

View File

@ -5186,6 +5186,11 @@ body.page .main-navigation {
padding: 0.5em;
}
.widget_calendar .calendar_wrap .wp-calendar-nav-prev,
.widget_calendar .calendar_wrap .wp-calendar-nav-next {
width: 40%;
}
/* Blocks */
/* !Block styles */
.entry .entry-content > *,

View File

@ -5192,6 +5192,11 @@ body.page .main-navigation {
padding: 0.5em;
}
.widget_calendar .calendar_wrap .wp-calendar-nav-prev,
.widget_calendar .calendar_wrap .wp-calendar-nav-next {
width: 40%;
}
/* Blocks */
/* !Block styles */
.entry .entry-content > *,

View File

@ -2819,8 +2819,9 @@ h2.widget-title {
display: table-cell;
}
.widget_calendar .wp-calendar-nav .pad {
width: 15%;
.widget_calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-next {
width: 40%;
}
.widget_calendar th,

View File

@ -1449,8 +1449,9 @@ blockquote:after,
display: table-cell;
}
.widget_calendar .wp-calendar-nav .pad {
width: 15%;
.widget_calendar .wp-calendar-nav-prev,
.widget_calendar .wp-calendar-nav-next {
width: 40%;
}
.widget_calendar td,

View File

@ -2599,6 +2599,11 @@ footer.entry-meta {
text-align: center;
}
.wp-calendar-nav-prev,
.wp-calendar-nav-next {
width: 40%;
}
/* Text widget */
.widget_text ul,
.widget_text ol {