Skip to content

Commit

Permalink
Tweak advanced gallery caption font size
Browse files Browse the repository at this point in the history
  • Loading branch information
razwan committed Aug 28, 2020
1 parent 3b7b091 commit fbfc528
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/css/blocks/common-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,10 @@ html:root {
.novablocks-u-content-width {
--theme-content-width-normal: 100%; }

.novablocks-advanced-gallery__grid-item[class] .credits[class] {
--font-size: 12;
font-size: var(--final-font-size); }

.novablocks-advanced-gallery__grid-item-caption {
--font-size: var(--theme-heading-4-font-size);
font-size: var(--final-font-size);
Expand Down
4 changes: 4 additions & 0 deletions dist/css/blocks/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,10 @@ html:root {
.novablocks-u-content-width {
--theme-content-width-normal: 100%; }

.novablocks-advanced-gallery__grid-item[class] .credits[class] {
--font-size: 12;
font-size: var(--final-font-size); }

.novablocks-advanced-gallery__grid-item-caption {
--font-size: var(--theme-heading-4-font-size);
font-size: var(--final-font-size);
Expand Down
8 changes: 8 additions & 0 deletions src/scss/blocks/nova-blocks/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@
--theme-content-width-normal: 100%;
}

.novablocks-advanced-gallery__grid-item {

&[class] .credits[class] {
--font-size: 12;
font-size: var(--final-font-size);
}
}

.novablocks-advanced-gallery__grid-item-caption {
@include apply-font(heading-4);
}
Expand Down

0 comments on commit fbfc528

Please sign in to comment.