WordPress.org

Make WordPress Core

Ticket #53422: 53422.diff

File 53422.diff, 3.2 KB (added by sumaiyasiddika, 3 months ago)

Fixed minor styling issues with blocks in widget area

  • src/wp-content/themes/twentyfourteen/css/blocks.css

    diff --git a/src/wp-content/themes/twentyfourteen/css/blocks.css b/src/wp-content/themes/twentyfourteen/css/blocks.css
    index d6ba5f050f..49eb4f91ac 100644
    a b p.has-drop-cap:not(:focus)::first-letter { 
    326326        text-decoration: none;
    327327}
    328328
     329.widget .wp-block-latest-comments__comment-meta a {
     330        color: #fff;
     331}
     332
    329333.wp-block-latest-comments_comment-meta a:hover,
    330334.wp-block-latest-comments_comment-meta a:focus {
    331335        color: #41a62a;
  • src/wp-content/themes/twentyseventeen/assets/css/blocks.css

    diff --git a/src/wp-content/themes/twentyseventeen/assets/css/blocks.css b/src/wp-content/themes/twentyseventeen/assets/css/blocks.css
    index 7aba715c8b..aeccda486e 100644
    a b p.has-drop-cap:not(:focus)::first-letter { 
    302302
    303303/* Comments */
    304304
    305 .wp-block-latest-comments article {
     305.wp-block-latest-comments article:not(:last-child) {
    306306        margin-bottom: 4em;
    307307}
    308308
  • src/wp-content/themes/twentysixteen/css/blocks.css

    diff --git a/src/wp-content/themes/twentysixteen/css/blocks.css b/src/wp-content/themes/twentysixteen/css/blocks.css
    index 72a6873660..b7d669947d 100644
    a b hr.wp-block-separator { 
    327327        line-height: 1.6153846154;
    328328}
    329329
    330 .wp-block-latest-comments .wp-block-latest-comments__comment {
     330.wp-block-latest-comments .wp-block-latest-comments__comment:not(:first-child) {
    331331        border-top: 1px solid #d1d1d1;
    332332        margin-bottom: 0;
    333333        padding: 1.75em 0;
  • src/wp-content/themes/twentyten/style.css

    diff --git a/src/wp-content/themes/twentyten/style.css b/src/wp-content/themes/twentyten/style.css
    index 762a3ab531..711d1181a0 100644
    a b h3#reply-title { 
    12851285        margin-left: 1.3em;
    12861286        padding: 0;
    12871287}
     1288#main .widget-area ul.wp-block-latest-posts.wp-block-latest-posts__list {
     1289        list-style: square;
     1290}
    12881291#primary {
    12891292}
    12901293#secondary {
  • src/wp-content/themes/twentythirteen/css/blocks.css

    diff --git a/src/wp-content/themes/twentythirteen/css/blocks.css b/src/wp-content/themes/twentythirteen/css/blocks.css
    index 428d8c62cd..3b0f3fdfea 100644
    a b body:not(.sidebar) .wp-block-table.alignfull { 
    583583        font-size: 16px;
    584584}
    585585
    586 .wp-block-latest-comments .wp-block-latest-comments__comment {
     586.wp-block-latest-comments .wp-block-latest-comments__comment:not(:first-child) {
    587587        background: url(../images/dotted-line.png) repeat-x left top;
    588588        margin-bottom: 0;
    589589        padding: 24px 0;
  • src/wp-content/themes/twentytwentyone/style.css

    diff --git a/src/wp-content/themes/twentytwentyone/style.css b/src/wp-content/themes/twentytwentyone/style.css
    index 6dcc4045d9..bc10a9c515 100644
    a b h6, 
    25462546        padding-right: var(--global--spacing-unit);
    25472547}
    25482548
     2549.widget_block .wp-block-latest-posts > li > a {
     2550        font-size: var(--global--font-size-sm);
     2551}
     2552
    25492553.entry-content [class*=inner-container] .wp-block-latest-posts.alignfull,
    25502554.entry-content .has-background .wp-block-latest-posts.alignfull {
    25512555        padding-left: 0;