WordPress.org

Make WordPress Core

Ticket #48617: 48617.diff

File 48617.diff, 1.7 KB (added by samful, 9 months ago)
  • wp-content/themes/twentytwenty/style.css

    diff --git wp-content/themes/twentytwenty/style.css wp-content/themes/twentytwenty/style.css
    index ad794b9..a312713 100755
    figure.wp-block-table.is-style-stripes { 
    35693569
    35703570/* Alignment Classes ------------------------- */
    35713571
    3572 .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
     3572.entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide):not(figure.alignnone):not(figure.aligncenter) {
    35733573        max-width: 58rem;
    35743574        width: calc(100% - 4rem);
    35753575}
    35763576
     3577.entry-content figure.alignnone[style*="width"],
     3578.entry-content figure.aligncenter[style*="width"] {
     3579        max-width: calc(100% - 4rem);
     3580}
     3581
    35773582[class*="__inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.is-style-wide) {
    35783583        max-width: 58rem;
    35793584        width: 100%;
    a.to-the-top > * { 
    62886293
    62896294}
    62906295
     6296@media ( min-width: 620px ) {
     6297        body:not(.template-full-width) .entry-content figure.alignnone[style*="width"],
     6298        body:not(.template-full-width) .entry-content figure.aligncenter[style*="width"] {
     6299                        max-width: 58rem;
     6300        }
     6301}
     6302
    62916303@media ( min-width: 1240px ) {
    62926304
    62936305
    a.to-the-top > * { 
    63916403                max-width: 25rem;
    63926404        }
    63936405
     6406        body:not(.template-full-width) .entry-content figure.alignnone[style*="width"],
     6407        body:not(.template-full-width) .entry-content figure.aligncenter[style*="width"] {
     6408                max-width: 120rem;
     6409        }
     6410
    63946411        /* Template: Full Width ------------------ */
    63956412
    63966413        body.template-full-width .alignfull:not(.has-background) > .wp-block-group__inner-container > p:not(.has-background-color) {