Automattic / Automattic/jetpack

Forms: Checkbox doesn't scale when changing text size

Open
#42,446 0 comments 0 reactions 1 assignee Claimed by @alinclamba View on GitHub
[Block] Form [Feature] Forms [Feature] Forms Blocks [Package] Forms [Plugin] Jetpack [Pri] Low [Status] Auto-allocated Bug Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### Quick summary

Originally noticed in https://github.com/Automattic/jetpack/pull/42278#issuecomment-2711244221, but it wasn't introduced in that PR.

If a user tries adding a Checkbox block to a form and changes the text size, the checkbox input itself doesn't scale with the text.

For example, here a checkbox with a small text size:
Image

Here's one with XXL text:
Image

Note that the checkbox is the same size

### Steps to reproduce

1. Add a Contact Form block
2. Add a Checkbox in the form
3. In the Block Inspector, try changing the font size of the checkbox

Expected: The checkbox scales to an appropriate size the text
Actual: The checkbox stays the same size

### Site owner impact

Fewer than 20% of the total website/platform users

### Severity

Minor

### What other impact(s) does this issue have?

_No response_

### If a workaround is available, please outline it here.

_No response_

### Platform (Simple and/or Atomic)

Simple, Atomic, Self-hosted

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.