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:
parent
6095b4467a
commit
01ad44e871
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -94,4 +94,9 @@
|
||||
padding: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.wp-calendar-nav-prev,
|
||||
.wp-calendar-nav-next {
|
||||
width: 40%;
|
||||
}
|
||||
}
|
@ -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 > *,
|
||||
|
@ -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 > *,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user