Skip to content

Commit

Permalink
resolve calendar block caption isuse
Browse files Browse the repository at this point in the history
  • Loading branch information
NidhiDhandhukiya74 committed Jan 10, 2025
1 parent 12734a5 commit 5c6a0c9
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,17 @@
margin-top: 0.15em;
}

/* Block: Calendar --------------------------- */

.editor-styles-wrapper .wp-calendar-table caption {
padding: 0.5em;
font-weight: 600;
}
:root .editor-styles-wrapper :where(.wp-block-calendar[style*="font-weight"]) caption,
:root .editor-styles-wrapper :where(.wp-block-calendar *[style*="font-weight"]) ~ caption {
font-weight: inherit;
}


/* Block: Table ------------------------------ */

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,17 @@
margin-top: 0.15em;
}

/* Block: Calendar --------------------------- */

.editor-styles-wrapper .wp-calendar-table caption {
padding: 0.5em;
font-weight: 600;
}
:root .editor-styles-wrapper :where(.wp-block-calendar[style*="font-weight"]) caption,
:root .editor-styles-wrapper :where(.wp-block-calendar *[style*="font-weight"]) ~ caption {
font-weight: inherit;
}


/* Block: Table ------------------------------ */

Expand Down
5 changes: 5 additions & 0 deletions src/wp-content/themes/twentytwenty/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -3055,6 +3055,11 @@ ol.wp-block-latest-comments {
font-size: inherit;
}

:root :where(.wp-block-calendar[style*="font-weight"]) caption,
:root :where(.wp-block-calendar *[style*="font-weight"]) ~ caption {
font-weight: inherit;
}

/* Block: Columns ---------------------------- */

.wp-block-columns.alignfull,
Expand Down
5 changes: 5 additions & 0 deletions src/wp-content/themes/twentytwenty/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3075,6 +3075,11 @@ ol.wp-block-latest-comments {
font-size: inherit;
}

:root :where(.wp-block-calendar[style*="font-weight"]) caption,
:root :where(.wp-block-calendar *[style*="font-weight"]) ~ caption {
font-weight: inherit;
}

/* Block: Columns ---------------------------- */

.wp-block-columns.alignfull,
Expand Down

0 comments on commit 5c6a0c9

Please sign in to comment.