Skip to content

Commit

Permalink
Fix: Contact form block dropdown arrow wrapping under field (#40206)
Browse files Browse the repository at this point in the history
* use correct values of padding for position aclculations

* changelog

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12008878254

Upstream-Ref: Automattic/jetpack@0a13b79
  • Loading branch information
MaggieCabrera authored and matticbot committed Nov 25, 2024
1 parent 96897dd commit 80cb067
Show file tree
Hide file tree
Showing 8 changed files with 120 additions and 117 deletions.
3 changes: 3 additions & 0 deletions jetpack_vendor/automattic/jetpack-forms/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ This is an alpha version! The changes listed here are not final.
- Updated dependencies.
- Updated package dependencies.

### Fixed
- Forms: fixed arrow positioning on select elements

## [0.34.0] - 2024-11-18
### Removed
- General: Update minimum PHP version to 7.2. [#40147]
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@

.contact-form .contact-form__select-wrapper::after {
position: absolute;
inset-inline-end: calc(var(--jetpack--contact-form--input-padding) + 4px);
top: calc(var(--jetpack--contact-form--input-padding) + var(--jetpack--contact-form--line-height) / 2);
inset-inline-end: calc(var(--jetpack--contact-form--input-padding-left) + 4px);
top: calc(var(--jetpack--contact-form--input-padding-top) + var(--jetpack--contact-form--line-height) / 2);

content: "";
display: block;
Expand Down
2 changes: 1 addition & 1 deletion jetpack_vendor/i18n-map.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
),
'jetpack-forms' => array(
'path' => 'jetpack_vendor/automattic/jetpack-forms',
'ver' => '0.34.1-alpha1732217150',
'ver' => '0.34.1-alpha1732533394',
),
'jetpack-image-cdn' => array(
'path' => 'jetpack_vendor/automattic/jetpack-image-cdn',
Expand Down
96 changes: 48 additions & 48 deletions vendor/composer/installed.json

Large diffs are not rendered by default.

96 changes: 48 additions & 48 deletions vendor/composer/installed.php

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions vendor/composer/jetpack_autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,71 +367,71 @@
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-explat/src/class-rest-controller.php'
),
'Automattic\\Jetpack\\Extensions\\Contact_Form\\Contact_Form_Block' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/blocks/contact-form/class-contact-form-block.php'
),
'Automattic\\Jetpack\\Files' => array(
'version' => '5.0.1.0-alpha1732046180',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-files.php'
),
'Automattic\\Jetpack\\Forms\\ContactForm\\Admin' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-admin.php'
),
'Automattic\\Jetpack\\Forms\\ContactForm\\Contact_Form' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form.php'
),
'Automattic\\Jetpack\\Forms\\ContactForm\\Contact_Form_Endpoint' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-endpoint.php'
),
'Automattic\\Jetpack\\Forms\\ContactForm\\Contact_Form_Field' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-field.php'
),
'Automattic\\Jetpack\\Forms\\ContactForm\\Contact_Form_Plugin' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-plugin.php'
),
'Automattic\\Jetpack\\Forms\\ContactForm\\Contact_Form_Shortcode' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-contact-form-shortcode.php'
),
'Automattic\\Jetpack\\Forms\\ContactForm\\Editor_View' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-editor-view.php'
),
'Automattic\\Jetpack\\Forms\\ContactForm\\Form_View' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-form-view.php'
),
'Automattic\\Jetpack\\Forms\\ContactForm\\Util' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/contact-form/class-util.php'
),
'Automattic\\Jetpack\\Forms\\Dashboard\\Dashboard' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/dashboard/class-dashboard.php'
),
'Automattic\\Jetpack\\Forms\\Dashboard\\Dashboard_View_Switch' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/dashboard/class-dashboard-view-switch.php'
),
'Automattic\\Jetpack\\Forms\\Jetpack_Forms' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/class-jetpack-forms.php'
),
'Automattic\\Jetpack\\Forms\\Service\\Google_Drive' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/service/class-google-drive.php'
),
'Automattic\\Jetpack\\Forms\\Service\\Post_To_Url' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/service/class-post-to-url.php'
),
'Automattic\\Jetpack\\Forms\\WPCOM_REST_API_V2_Endpoint_Forms' => array(
'version' => '0.34.1.0-alpha1732217150',
'version' => '0.34.1.0-alpha1732533394',
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-forms/src/class-wpcom-rest-api-v2-endpoint-forms.php'
),
'Automattic\\Jetpack\\Heartbeat' => array(
Expand Down

0 comments on commit 80cb067

Please sign in to comment.