Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #56220


Ignore:
Timestamp:
07/16/2022 03:15:15 PM (3 years ago)
Author:
sabernhardt
Comment:

A max-width was set at both 768 and 1168 pixels in commits related to PR 559. Early versions of the cover block had hardcoded H2 headings, but that might have changed even before Twenty Nineteen and WordPress 5.0 were released.

If the max-width is not necessary for any case with these headings, I would prefer simply removing the h2 selectors from those styles instead of unsetting later.

Otherwise, we could override it when users specify any text alignment. Left and right alignment do not work well either (when they go against the language direction).

.entry .entry-content .wp-block-cover.alignfull h2[class*="has-text-align-"] {
  max-width: unset;
}

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #56220

    • Property Keywords has-testing-info added
    • Property Focuses css added
    • Property Milestone changed from Awaiting Review to Future Release
  • Ticket #56220 – Description

    initial v3  
    2323
    2424== Workaround
    25  
     25
    2626
    2727This custom CSS may be used as a workaround:
     
    4545Firefox 102.0.1 / Chrome 103.0.5060.114 / Safari 15.3
    4646MacOS 12.2.1
    47 Browser size: 1008 x 499
     47Browser size: ~~1008 x 499~~ 1512 × 748