WordPress.org

Make WordPress Core

Ticket #45912: 45912.2.diff

File 45912.2.diff, 2.7 KB (added by leprincenoir, 2 months ago)

Normally, she's the one

  • src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

    diff --git a/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss b/src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss
    index a7f215c984..806df3a760 100644
    a b  
    684684                max-width: 2.25em;
    685685                text-align: left;
    686686
     687                &:not(.wp-block-separator) {
     688                        max-width: 100%;
     689                        @include postContentMaxWidth();
     690                }
     691
    687692                &.is-style-wide {
    688693                        max-width: 100%;
    689694                        @include postContentMaxWidth();
  • src/wp-content/themes/twentynineteen/style-rtl.css

    diff --git a/src/wp-content/themes/twentynineteen/style-rtl.css b/src/wp-content/themes/twentynineteen/style-rtl.css
    index 248e790b47..2e4e3fdbd3 100644
    a b body.page .main-navigation { 
    29582958  line-height: 1.2;
    29592959  text-shadow: none;
    29602960  padding: calc( .5 * 1rem) 1rem calc( .5 * 1rem) calc( 24px + 1rem);
    2961   white-space: nowrap;
     2961  max-width: 20rem;
    29622962}
    29632963
    29642964.main-navigation .sub-menu > li > a:hover, .main-navigation .sub-menu > li > a:focus,
    body.page .main-navigation { 
    56395639  margin: 0 0 0 0.25em;
    56405640}
    56415641
     5642@-moz-document url-prefix() {
     5643  .entry .entry-content .has-drop-cap:not(:focus)::first-letter {
     5644    margin-top: 0.2em;
     5645  }
     5646}
     5647
    56425648.entry .entry-content .wp-block-pullquote {
    56435649  border-color: transparent;
    56445650  border-width: 2px;
  • src/wp-content/themes/twentynineteen/style.css

    diff --git a/src/wp-content/themes/twentynineteen/style.css b/src/wp-content/themes/twentynineteen/style.css
    index dc99af1dd4..bef8d61169 100644
    a b body.page .main-navigation { 
    56525652}
    56535653
    56545654@-moz-document url-prefix() {
    5655   .entry .entry-content .has-drop-cap:not(:focus)::first-letter {
     5655  .entry .entry-content .has-drop-cap:not(:focus):first-letter {
    56565656    margin-top: 0.2em;
    56575657  }
    56585658}
    body.page .main-navigation { 
    60356035                 * is followed by an H1, or H2 */
    60366036}
    60376037
     6038.entry .entry-content .wp-block-separator:not(.wp-block-separator),
     6039.entry .entry-content hr:not(.wp-block-separator) {
     6040  max-width: 100%;
     6041}
     6042
     6043@media only screen and (min-width: 768px) {
     6044  .entry .entry-content .wp-block-separator:not(.wp-block-separator),
     6045  .entry .entry-content hr:not(.wp-block-separator) {
     6046    max-width: calc(8 * (100vw / 12) - 28px);
     6047  }
     6048}
     6049
     6050@media only screen and (min-width: 1168px) {
     6051  .entry .entry-content .wp-block-separator:not(.wp-block-separator),
     6052  .entry .entry-content hr:not(.wp-block-separator) {
     6053    max-width: calc(6 * (100vw / 12) - 28px);
     6054  }
     6055}
     6056
    60386057.entry .entry-content .wp-block-separator.is-style-wide,
    60396058.entry .entry-content hr.is-style-wide {
    60406059  max-width: 100%;