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.
Merges [47444] to the 5.4 branch.
Fixes #49549.
Built from https://develop.svn.wordpress.org/branches/5.4@47445


git-svn-id: http://core.svn.wordpress.org/branches/5.4@47232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-03-10 20:56:09 +00:00
parent 1d596890a0
commit 0389bf8293
9 changed files with 34 additions and 7 deletions

View File

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

View File

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

View File

@ -94,4 +94,9 @@
padding: 0.5em; 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; padding: 0.5em;
} }
.widget_calendar .calendar_wrap .wp-calendar-nav-prev,
.widget_calendar .calendar_wrap .wp-calendar-nav-next {
width: 40%;
}
/* Blocks */ /* Blocks */
/* !Block styles */ /* !Block styles */
.entry .entry-content > *, .entry .entry-content > *,

View File

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

View File

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

View File

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

View File

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

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.4-RC1-47442'; $wp_version = '5.4-RC1-47445';
/** /**
* 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.