WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/02/2020 04:53:36 PM (7 months ago)
Author:
ianbelanger
Message:

Bundled Themes: Update calendar widget styles for 5.4 markup.

Fixes the alignment of month links in the calendar widget with the changes in version 5.4 for all Bundled Themes, except Twenty Thirteen, which was already fixed in #49546.

Props sabernhardt.
Fixes #49549.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/sass/site/secondary/_widgets.scss

    r46587 r47405  
    7979        text-decoration: underline;
    8080    }
     81
     82    .wp-calendar-table {
     83        margin-bottom: 0;
     84    }
     85
     86    .wp-calendar-nav {
     87        margin: 0 0 $size__spacing-unit;
     88        display: table;
     89        width: 100%;
     90        @include font-family( $font__heading );
     91
     92        span {
     93            display: table-cell;
     94            padding: 0.5em;
     95        }
     96    }
    8197}
Note: See TracChangeset for help on using the changeset viewer.