Skip to content

Commit

Permalink
Merge e10424e into 4a30619
Browse files Browse the repository at this point in the history
  • Loading branch information
PatelUtkarsh committed Sep 7, 2022
2 parents 4a30619 + e10424e commit 158975b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
4 changes: 0 additions & 4 deletions plugin/assets/css/src/block/style/masonry.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,3 @@
.is-style-material-masonry.wp-block-query-loop.is-flex-container > li {
width: 100% !important;
}

.entry-content h2.post-card__title {
margin: revert;
}
1 change: 1 addition & 0 deletions plugin/assets/css/src/components/card.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
color: var(--md-sys-color-on-surface, #000);
}

.entry-content h2.post-card__title,
.post-card__title {
margin: 0;
padding: 0;
Expand Down
14 changes: 7 additions & 7 deletions plugin/php/customizer/class-controls.php
Original file line number Diff line number Diff line change
Expand Up @@ -913,12 +913,12 @@ public function get_frontend_css() {
esc_html( $font_style )
);
} elseif ( 'tracking' === $type ) {
$font_size = isset( $value['size'] ) ? $value['size'] : 16;
$line_height = $value[ $type ] / $font_size;
$font_vars[] = sprintf(
$font_size = isset( $value['size'] ) ? $value['size'] : 16;
$line_tracking = $value[ $type ] / $font_size;
$font_vars[] = sprintf(
'%s: %srem !important;',
esc_html( $var ),
esc_html( $line_height )
esc_html( $line_tracking )
);
} else {
$font_vars[] = sprintf(
Expand Down Expand Up @@ -1714,9 +1714,9 @@ public function get_typography_extra_controls( $token ) {
'small' => 2.5,
],
'title' => [
'large' => 2,
'medium' => 2,
'small' => 1.75,
'large' => 1.33,
'medium' => 1.75,
'small' => 1.57,
],
'label' => [
'large' => 1.75,
Expand Down

0 comments on commit 158975b

Please sign in to comment.