WordPress.org

Make WordPress Core

Changeset 47241


Ignore:
Timestamp:
02/10/2020 06:23:29 PM (4 months ago)
Author:
ianbelanger
Message:

Bundled Themes: Twenty Twenty Author Bio/Post Meta Width in Cover Template in Mobile.

Fixes a bug where the author bio and post meta have no left or right padding in smaller viewports.

Props JarretC.
Fixes #49254.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/style-rtl.css

    r47192 r47241  
    810810
    811811input::-moz-placeholder {
    812     line-height: normal;
     812    line-height: revert; /* Reset to the value from the user-agent stylesheet. */
    813813}
    814814
     
    45234523    }
    45244524
     4525    /* Template -------------------------------- */
     4526
     4527    /* TEMPLATE: COVER */
     4528
     4529    .template-cover .post-inner .post-meta-wrapper,
     4530    .template-cover .post-inner .author-bio {
     4531        width: calc( 100% - 4rem );
     4532    }
     4533
    45254534}
    45264535
  • trunk/src/wp-content/themes/twentytwenty/style.css

    r47192 r47241  
    45574557    }
    45584558
     4559    /* Template -------------------------------- */
     4560
     4561    /* TEMPLATE: COVER */
     4562
     4563    .template-cover .post-inner .post-meta-wrapper,
     4564    .template-cover .post-inner .author-bio {
     4565        width: calc( 100% - 4rem );
     4566    }
     4567
    45594568}
    45604569
Note: See TracChangeset for help on using the changeset viewer.