Skip to content

Commit 03e1350

Browse files
dhasilvamatticbot
authored andcommitted
Forms: Fix button padding (#46331)
* add button specific padding * changelog Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/20352030108 Upstream-Ref: Automattic/jetpack@b494b74
1 parent ba088bb commit 03e1350

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ This is an alpha version! The changes listed here are not final.
1818

1919
### Fixed
2020
- Fixed textarea placeholders to match input placeholder styling
21+
- Forms: Fix button padding
2122
- Forms: strip HTML from styled labels in error summary
2223

2324
## [7.0.0] - 2025-12-15

dist/blocks/editor.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-jp-i18n-loader', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'eaf38ee985a72866cf6f');
1+
<?php return array('dependencies' => array('jetpack-connection', 'jetpack-script-data', 'lodash', 'react', 'react-jsx-runtime', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-jp-i18n-loader', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '5192fbb4e9b030ac6c28');

dist/blocks/editor.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/blocks/view.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '97115d02b739e14da240');
1+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'ed510d50400d55a409aa');

dist/blocks/view.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/contact-form/css/grunion-rtl.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/contact-form/css/grunion.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/contact-form/css/grunion.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,8 @@ that needs to mimic the input element styles */
400400

401401
.wp-block-button__link {
402402
min-height: var(--jetpack--contact-form--input-height, auto);
403-
padding: var(--jetpack--contact-form--input-padding);
403+
padding: var(--jetpack--contact-form--button-primary--padding);
404404
}
405-
406405
}
407406

408407
.wp-block-jetpack-contact-form .wp-block-jetpack-button.aligncenter {

0 commit comments

Comments
 (0)