Skip to content

Commit b6f279e

Browse files
committed
fix: use rem
1 parent 88e209e commit b6f279e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

patterns/header/header-mobile-style-1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
2727
<div class="wp-block-group">
2828
<?php if ( class_exists( 'Newspack\Reader_Activation' ) && \Newspack\Reader_Activation::is_enabled() ) : ?>
29-
<!-- wp:newspack/my-account-button {"className":"is-style-icon-only has-x-small-size","style":{"spacing":{"padding":{"top":"var:custom|spacing|15","bottom":"var:custom|spacing|15","left":"var:custom|spacing|15","right":"var:custom|spacing|15"}},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"backgroundColor":"base","textColor":"contrast","fontSize":"x-small"} /-->
29+
<!-- wp:newspack/my-account-button {"className":"is-style-icon-only has-x-small-size","style":{"spacing":{"padding":{"top":"0.375rem","bottom":"0.375rem","left":"0.375rem","right":"0.375rem"}},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"backgroundColor":"base","textColor":"contrast","fontSize":"x-small"} /-->
3030
<?php endif; ?>
3131

3232
<!-- wp:buttons {"layout":{"type":"flex","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}}} -->

patterns/header/header-mobile-style-2.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<!-- wp:site-logo {"width":256,"lock":{"move":false,"remove":true}} /-->
2121

2222
<?php if ( class_exists( 'Newspack\Reader_Activation' ) && \Newspack\Reader_Activation::is_enabled() ) : ?>
23-
<!-- wp:newspack/my-account-button {"className":"is-style-icon-only has-x-small-size","style":{"spacing":{"padding":{"top":"var:custom|spacing|15","bottom":"var:custom|spacing|15","left":"var:custom|spacing|15","right":"var:custom|spacing|15"}},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"backgroundColor":"base","textColor":"contrast","fontSize":"x-small"} /-->
23+
<!-- wp:newspack/my-account-button {"className":"is-style-icon-only has-x-small-size","style":{"spacing":{"padding":{"top":"0.375rem","bottom":"0.375rem","left":"0.375rem","right":"0.375rem"}},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"backgroundColor":"base","textColor":"contrast","fontSize":"x-small"} /-->
2424
<?php else : ?>
2525
<!-- wp:template-part {"slug":"search-menu","theme":"newspack-block-theme","tagName":"div","className":"search-menu"} /-->
2626
<?php endif; ?>

patterns/header/header-mobile-style-3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<?php if ( class_exists( 'Newspack\Reader_Activation' ) && \Newspack\Reader_Activation::is_enabled() ) : ?>
2323
<!-- wp:template-part {"slug":"search-menu","theme":"newspack-block-theme","tagName":"div","className":"search-menu"} /-->
2424

25-
<!-- wp:newspack/my-account-button {"className":"is-style-icon-only has-x-small-size","style":{"spacing":{"padding":{"top":"var:custom|spacing|15","bottom":"var:custom|spacing|15","left":"var:custom|spacing|15","right":"var:custom|spacing|15"}},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"backgroundColor":"base","textColor":"contrast","fontSize":"x-small"} /-->
25+
<!-- wp:newspack/my-account-button {"className":"is-style-icon-only has-x-small-size","style":{"spacing":{"padding":{"top":"0.375rem","bottom":"0.375rem","left":"0.375rem","right":"0.375rem"}},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"backgroundColor":"base","textColor":"contrast","fontSize":"x-small"} /-->
2626
<?php else : ?>
2727
<!-- wp:buttons {"layout":{"type":"flex","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}}} -->
2828
<div class="wp-block-buttons">

0 commit comments

Comments
 (0)