Skip to content

Commit

Permalink
remove whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesros161 committed Jun 30, 2022
1 parent e865b79 commit 0099973
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ public function generate_headings_css( $css = '' ) {
*/
public function generate_responsive_headings( $responsive_sizes, $selectors, $css ) {
$responsive_sizes = is_string( $responsive_sizes ) ? json_decode( $responsive_sizes, true ) : $responsive_sizes;

foreach ( $selectors as $selector => $options ) {
if ( 'headings' !== $options['type'] ) {
continue;
Expand All @@ -515,7 +515,7 @@ public function generate_responsive_headings( $responsive_sizes, $selectors, $cs
if ( isset( $responsive_sizes['phone'] ) ) {
$headings_size = preg_split( '/(?<=[0-9])(?=[a-z]+)/i', $responsive_sizes['phone'] );
$headings_base = $headings_size[0];
$headings_unit = $headings_size[1];
$headings_unit = $headings_size[1];

$css .= '@media only screen and (max-width: 766px) {';
foreach ( $selectors as $selector => $options ) {
Expand Down

0 comments on commit 0099973

Please sign in to comment.