From 0389bf8293e46cb31dbb3c9f332de75dd28ca2d3 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 10 Mar 2020 20:56:09 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentyeleven/style.css | 4 ++++ wp-content/themes/twentyfifteen/style.css | 5 +++-- .../themes/twentynineteen/sass/site/secondary/_widgets.scss | 5 +++++ wp-content/themes/twentynineteen/style-rtl.css | 5 +++++ wp-content/themes/twentynineteen/style.css | 5 +++++ wp-content/themes/twentyseventeen/style.css | 5 +++-- wp-content/themes/twentysixteen/style.css | 5 +++-- wp-content/themes/twentythirteen/style.css | 5 +++++ wp-includes/version.php | 2 +- 9 files changed, 34 insertions(+), 7 deletions(-) diff --git a/wp-content/themes/twentyeleven/style.css b/wp-content/themes/twentyeleven/style.css index 9cbb2a4c87..27c3304c8b 100644 --- a/wp-content/themes/twentyeleven/style.css +++ b/wp-content/themes/twentyeleven/style.css @@ -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, diff --git a/wp-content/themes/twentyfifteen/style.css b/wp-content/themes/twentyfifteen/style.css index ad5b810f30..807018aa3e 100644 --- a/wp-content/themes/twentyfifteen/style.css +++ b/wp-content/themes/twentyfifteen/style.css @@ -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, diff --git a/wp-content/themes/twentynineteen/sass/site/secondary/_widgets.scss b/wp-content/themes/twentynineteen/sass/site/secondary/_widgets.scss index 5ff153ad76..7ade14cd07 100644 --- a/wp-content/themes/twentynineteen/sass/site/secondary/_widgets.scss +++ b/wp-content/themes/twentynineteen/sass/site/secondary/_widgets.scss @@ -94,4 +94,9 @@ padding: 0.5em; } } + + .wp-calendar-nav-prev, + .wp-calendar-nav-next { + width: 40%; + } } \ No newline at end of file diff --git a/wp-content/themes/twentynineteen/style-rtl.css b/wp-content/themes/twentynineteen/style-rtl.css index 0d0016dcb4..2c94bcf1fc 100644 --- a/wp-content/themes/twentynineteen/style-rtl.css +++ b/wp-content/themes/twentynineteen/style-rtl.css @@ -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 > *, diff --git a/wp-content/themes/twentynineteen/style.css b/wp-content/themes/twentynineteen/style.css index ce7499d8ac..fda7598c99 100644 --- a/wp-content/themes/twentynineteen/style.css +++ b/wp-content/themes/twentynineteen/style.css @@ -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 > *, diff --git a/wp-content/themes/twentyseventeen/style.css b/wp-content/themes/twentyseventeen/style.css index e690368731..6d288d09c4 100644 --- a/wp-content/themes/twentyseventeen/style.css +++ b/wp-content/themes/twentyseventeen/style.css @@ -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, diff --git a/wp-content/themes/twentysixteen/style.css b/wp-content/themes/twentysixteen/style.css index 0277fac448..f7f2d4d462 100644 --- a/wp-content/themes/twentysixteen/style.css +++ b/wp-content/themes/twentysixteen/style.css @@ -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, diff --git a/wp-content/themes/twentythirteen/style.css b/wp-content/themes/twentythirteen/style.css index 84fdf73418..98bbf19c41 100644 --- a/wp-content/themes/twentythirteen/style.css +++ b/wp-content/themes/twentythirteen/style.css @@ -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 { diff --git a/wp-includes/version.php b/wp-includes/version.php index 5d36706374..16ab2b1191 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.