themes icon indicating copy to clipboard operation
themes copied to clipboard

Pique: columns(Columns Block) with wide alignment are getting cut off on mobile

Open Gustavo-Hilario opened this issue 3 years ago • 2 comments

Quick summary

Column blocks with wide alignment are cut off on mobile. User should be using a sidebar.

Steps to reproduce

  1. Activate the Pique theme on a test site.
  2. On the Customizer, add any block to the Sidebar widget, just to make sure your site has a sidebar.
  3. Create a new page.
  4. Add a Column block and add some content like paragraphs and images.
  5. Save, publish the page and check it out on mobile.

The content inside the Column block will show up cut off on the right and left sides.

What you expected to happen

I expected to see the full content placed within the column block on mobile.

What actually happened

Content is getting cut off on the edges.

IMG_C934BD588273-1

This code seems to be causing the issue here:

Markup 2022-08-04 at 17 13 46

Context

Customer report here:

  • [ ] 5453882-zen

Platform (Simple, Atomic, or both?)

Simple, Atomic

Theme-specific issue?

Pique Theme.

Browser, operating system and other notes

No response

Reproducibility

Consistent

Severity

One

Available workarounds?

Yes, easy to implement

Workaround details

If the user can add CSS code on their site, this might help:

@media  (max-width: 999px)  {
	body.pique-sidebar.pique-singular .alignwide {
           margin-right: auto;
           margin-left: auto;
  }
}

Gustavo-Hilario avatar Aug 04 '22 20:08 Gustavo-Hilario

Support References

This comment is automatically generated. Please do not edit it.

  • [ ] 5453882-zen

github-actions[bot] avatar Aug 04 '22 20:08 github-actions[bot]

📌 HOUSEKEEPING

  • Labels ✅
  • Priority ✅
  • Replicable on Core - no

📌 SCRUBBING

  • Tested on Simple ✅
  • Tested on AT ✅

📌 FINDINGS/SCREENSHOTS/VIDEO

  • I can confirm the issue happened as described. The key things to make sure you can replica is to have a sidebar and a wide alignmnent.
  • Might be related to this https://github.com/Automattic/themes/issues/2059

📌 ACTIONS

  • Transferred to XYZ external rep https://github.com/Automattic/themes/

Robertght avatar Aug 09 '22 16:08 Robertght