go icon indicating copy to clipboard operation
go copied to clipboard

File block issue with Go

Open gdaleks opened this issue 2 years ago • 2 comments

The link and download button of the File block aren't wrapped below the file display when a PDF is uploaded: https://prnt.sc/LtTixOYjC4c6

This only happens on Go, while it doesn't happen when using a default theme: https://prnt.sc/pIsKdNdtrcM

Initially reported in the support forum: https://wordpress.org/support/topic/file-block-styles-missing-pdf-zoom/

gdaleks avatar Jun 21 '23 17:06 gdaleks

I am not sure what plugin you are referring to. If you have a link to the page where this is happening I can help look at the CSS on the page, but beyond that I can't provide much help because I don't know how to reproduce the issue.

EvanHerman avatar Jun 24 '23 17:06 EvanHerman

Here is a video recording reproducing the bug. https://youtu.be/kPA3z57zWPI

Steps:

  1. Install the Go Theme
  2. Create a Page that uses the Latest Posts Block to display posts from a category (include Post Content)
  3. Create a Post with a File block referencing a PDF file.

Actual Behavior: In the Post Editor, the Download link and buttons properly wrap underneath the PDF preview On the live Page, the download link and buttons do NOT wrap, but squash the preview to the left.

Expected Behavior: On the live Page, the download link and button wrap similar to the editor experience.

Workaround: Add Additional CSS: .wp-file-block { flex-wrap: wrap; }

burtonrodman avatar Jul 01 '23 17:07 burtonrodman