Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No left-right page margins on iOS Safari #1755

Open
gnalbat opened this issue Feb 6, 2025 · 1 comment
Open

No left-right page margins on iOS Safari #1755

gnalbat opened this issue Feb 6, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@gnalbat
Copy link

gnalbat commented Feb 6, 2025

Describe the bug

On iOS 16 Safari, left and right margins do not appear.

To Reproduce
Steps to reproduce the behavior:

  1. Have an iPhone 11 on iOS 16
  2. Go to the quartz demo site using Safari
  3. The page content does not have left and right margins

Expected behavior
There should be left and right margins

Screenshots and Source
Image

Desktop (please complete the following information):

  • Quartz Version: v4.4.0
  • OS: iOS 16.1.1 (iPhone 11)
  • Browser: Safari for iOS

Additional context
I don't have other iOS devices to test on, unfortunately. It does occur on every quartz site in the showcase.

Margins work fine on PC browsers with Device Settings which change window resolution for simulation of other devices.

@gnalbat gnalbat added the bug Something isn't working label Feb 6, 2025
@saberzero1 saberzero1 self-assigned this Feb 7, 2025
@gnalbat
Copy link
Author

gnalbat commented Feb 13, 2025

I have tested on multiple devices. Maybe it's a device width issue?

Margin look fine on:

  • iPhone 8 Plus
  • iPhone XS

No margins on:

  • iPhone 11
  • iPhone 6S

Screenshots below on iPhone 6S. Center div's margin-left and right compute to 0.
Image
Image

Edit:

Maybe it's a width computation issue? below is from iPhone XS

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants