Skip to content

Checkboxes and radio inputs are displaced in iOS Safari #882

@dcastil

Description

@dcastil

Describe the bug

Checkboxes and radio inputs are not aligned with label text in iOS Safari.

To Reproduce

  1. Grab an iPhone or iPad
  2. Go to https://primer.style/css/components/forms#checkboxes-and-radios
  3. Check out checkbox and radio position

Expected behavior

The inputs should be aligned with their label text.

Screenshots

Checkbox in desktop Safari is fine
Screenshot 2019-09-05 at 09 35 11

Checkbox in mobile Safari is too low and too close to the text
IMG_4317

Radio in desktop Safari is fine
Screenshot 2019-09-05 at 09 35 18

Radio in mobile Safari is too low and too close to the text
IMG_4318

Desktop:

  • OS: Mac OS Mojave 10.14.6
  • Browser: Safari
  • Version: 12.1.2

Smartphone:

  • Device: iPhone 8
  • OS: iOS 12.4
  • Browser: Safari
  • Version: 12.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions