Make WordPress Core

Ticket #61562: 61562.patch

File 61562.patch, 1.6 KB (added by viralsampat, 10 months ago)

I have checked above mentioned issue and I have resolved it and added patch. Also, I have attached screenshot after resolved this issue.

  • src/wp-content/themes/twentytwentyone/assets/css/style-editor.css

    diff --git src/wp-content/themes/twentytwentyone/assets/css/style-editor.css src/wp-content/themes/twentytwentyone/assets/css/style-editor.css
    index d6f1bd7819..f330f589dd 100644
    h6, 
    11921192        line-height: var(--global--line-height-body);
    11931193}
    11941194
     1195/* Latest Posts block text color change css */
     1196.wp-block-latest-posts.has-text-color .wp-block-latest-posts__post-author {
     1197    color: inherit;
     1198}
     1199
     1200.wp-block-latest-posts.has-text-color .wp-block-latest-posts__post-date {
     1201    color: inherit;
     1202}
     1203
     1204
    11951205[class*=inner-container] .wp-block-latest-posts .wp-block-latest-posts__post-date,
    11961206.has-background .wp-block-latest-posts .wp-block-latest-posts__post-date {
    11971207        color: currentColor;
  • src/wp-content/themes/twentytwentyone/style.css

    diff --git src/wp-content/themes/twentytwentyone/style.css src/wp-content/themes/twentytwentyone/style.css
    index 45600e20fc..2eeafac7fb 100644
    h6, 
    24522452        margin-bottom: calc(0.333 * var(--global--spacing-vertical));
    24532453}
    24542454
     2455/* Latest Posts block link text color and text color CSS */
     2456.wp-block-latest-posts.has-text-color.has-background > li > a {
     2457    color: inherit;
     2458}
     2459
     2460.wp-block-latest-posts.has-text-color .wp-block-latest-posts__post-author {
     2461    color: inherit;
     2462}
     2463
     2464.wp-block-latest-posts.has-text-color .wp-block-latest-posts__post-date {
     2465    color: inherit;
     2466}
     2467
    24552468.widget-area .wp-block-latest-posts > li > a {
    24562469        font-size: var(--global--font-size-sm);
    24572470        margin-bottom: 0;