Make WordPress Core

Ticket #62743: 62743.patch

File 62743.patch, 2.4 KB (added by nidhidhandhukiya, 12 months ago)
  • wp-content/themes/twentynineteen/style-editor.css

     
    10581058}
    10591059
    10601060/** === Blockquote === */
     1061.wp-block-quote[style*="font-size"] p {
     1062  font-size: 1em;
     1063}
    10611064.wp-block-quote:not(.is-large):not(.is-style-large) {
    10621065  border-width: 2px;
    10631066  border-color: #0073aa;
  • wp-content/themes/twentynineteen/style-editor.scss

     
    467467/** === Blockquote === */
    468468
    469469.wp-block-quote {
    470 
     470        &[style*="font-size"] {
     471                p {
     472                  font-size: 1em;
     473                }
     474          }
    471475        &:not(.is-large):not(.is-style-large) {
    472476                border-width: 2px;
    473477                border-color: $color__link;
  • wp-content/themes/twentynineteen/style-rtl.css

     
    58365836  line-height: 1.8;
    58375837}
    58385838
    5839 .entry .entry-content .wp-block-quote cite {
    5840   /*
    5841                          * This requires a rem-based font size calculation instead of our normal em-based one,
    5842                          * because the cite tag sometimes gets wrapped in a p tag. This is equivalent to $font-size_xs.
    5843                          */
    5844   font-size: calc(1rem / (1.25 * 1.125));
    5845 }
    5846 
    58475839.entry .entry-content .wp-block-quote.is-large, .entry .entry-content .wp-block-quote.is-style-large {
    58485840  margin: 1rem 0;
    58495841  padding: 0;
  • wp-content/themes/twentynineteen/style.css

     
    58485848  line-height: 1.8;
    58495849}
    58505850
    5851 .entry .entry-content .wp-block-quote cite {
    5852   /*
    5853                          * This requires a rem-based font size calculation instead of our normal em-based one,
    5854                          * because the cite tag sometimes gets wrapped in a p tag. This is equivalent to $font-size_xs.
    5855                          */
    5856   font-size: calc(1rem / (1.25 * 1.125));
    5857 }
    58585851
    58595852.entry .entry-content .wp-block-quote.is-large, .entry .entry-content .wp-block-quote.is-style-large {
    58605853  margin: 1rem 0;