Make WordPress Core

Changeset 55898


Ignore:
Timestamp:
06/08/2023 01:58:47 PM (12 months ago)
Author:
SergeyBiryukov
Message:

Twenty Twenty-Three: Remove redundant px unit in a few inline styles.

Follow-up to [54312], [54629].

Props ankitmaru.
Fixes #58485.

Location:
trunk/src/wp-content/themes/twentytwentythree
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentythree/patterns/hidden-comments.php

    r54312 r55898  
    3030
    3131                    <!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"flex"}} -->
    32                     <div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
     32                    <div class="wp-block-group" style="margin-top:0;margin-bottom:0">
    3333                        <!-- wp:comment-date /-->
    3434                        <!-- wp:comment-edit-link /-->
  • trunk/src/wp-content/themes/twentytwentythree/templates/blog-alternative.html

    r54887 r55898  
    77        <!-- wp:post-template -->
    88            <!-- wp:columns {"style":{"border":{"bottom":{"width":"1px"}},"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"},"margin":{"top":"-1.5rem","bottom":"0px"}}}} -->
    9             <div class="wp-block-columns" style="border-bottom-width:1px;margin-top:-1.5rem;margin-bottom:0px;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
     9            <div class="wp-block-columns" style="border-bottom-width:1px;margin-top:-1.5rem;margin-bottom:0;padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)">
    1010                <!-- wp:column {"verticalAlignment":"center","width":"20%"} -->
    1111                <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%">
Note: See TracChangeset for help on using the changeset viewer.