WordPress.org

Make WordPress Core

Ticket #45912: 45912.1.diff

File 45912.1.diff, 3.2 KB (added by leprincenoir, 2 months ago)
  • 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..78e6a2c556 100644
    a b  
    684684                max-width: 2.25em;
    685685                text-align: left;
    686686
     687                &:not(.wp-block-separator) {
     688                        @include postContentMaxWidth();
     689                }
     690
    687691                &.is-style-wide {
    688692                        max-width: 100%;
    689693                        @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..a08709ee31 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;
    body.page .main-navigation { 
    60176023                 * is followed by an H1, or H2 */
    60186024}
    60196025
     6026@media only screen and (min-width: 768px) {
     6027  .entry .entry-content .wp-block-separator:not(.wp-block-separator),
     6028  .entry .entry-content hr:not(.wp-block-separator) {
     6029    max-width: calc(8 * (100vw / 12) - 28px);
     6030  }
     6031}
     6032
     6033@media only screen and (min-width: 1168px) {
     6034  .entry .entry-content .wp-block-separator:not(.wp-block-separator),
     6035  .entry .entry-content hr:not(.wp-block-separator) {
     6036    max-width: calc(6 * (100vw / 12) - 28px);
     6037  }
     6038}
     6039
    60206040.entry .entry-content .wp-block-separator.is-style-wide,
    60216041.entry .entry-content hr.is-style-wide {
    60226042  max-width: 100%;
  • 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..0602449475 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@media only screen and (min-width: 768px) {
     6039  .entry .entry-content .wp-block-separator:not(.wp-block-separator),
     6040  .entry .entry-content hr:not(.wp-block-separator) {
     6041    max-width: calc(8 * (100vw / 12) - 28px);
     6042  }
     6043}
     6044
     6045@media only screen and (min-width: 1168px) {
     6046  .entry .entry-content .wp-block-separator:not(.wp-block-separator),
     6047  .entry .entry-content hr:not(.wp-block-separator) {
     6048    max-width: calc(6 * (100vw / 12) - 28px);
     6049  }
     6050}
     6051
    60386052.entry .entry-content .wp-block-separator.is-style-wide,
    60396053.entry .entry-content hr.is-style-wide {
    60406054  max-width: 100%;