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

Use theme styles affects basic layout #45423

Open
draganescu opened this issue Oct 31, 2022 · 3 comments
Open

Use theme styles affects basic layout #45423

draganescu opened this issue Oct 31, 2022 · 3 comments
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Feature] Layout Layout block support, its UI controls, and style output. [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. [Type] Bug An existing feature does not function as intended

Comments

@draganescu
Copy link
Contributor

Description

When using a row of galley block the layout is lost in the post editor if the use theme styles preference is turned off.

Step-by-step reproduction instructions

  1. Create a post
  2. Insert a row block should be horizontal
  3. Go to the top left dot menu of the editor
  4. Click preferences
  5. Turn off "use theme styles"
  6. Notice the row block is now vertical

Screenshots, screen recording, code snippet

row-bug.mp4

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@DaisyOlsen DaisyOlsen added [Block] Gallery Affects the Gallery Block - used to display groups of images [Type] Bug An existing feature does not function as intended labels Oct 31, 2022
@draganescu draganescu added Needs Technical Feedback Needs testing from a developer perspective. [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. labels Nov 3, 2022
@melvinisken
Copy link

melvinisken commented Nov 5, 2022

I have a similar effect by upgrading from 6.0.3 to 6.1. All my galleries are broken. The editor view is still correct, but the acutal page is broken. I'm using Neve Theme, in case that's important. Here is the editor-view and the website view:
editor
website

I now downgraded to 6.0.3 and everything is fine again.

@talldan talldan removed the Needs Technical Feedback Needs testing from a developer perspective. label Apr 11, 2023
@talldan
Copy link
Contributor

talldan commented Apr 11, 2023

This still seems to be an issue. I've removed 'Needs Technical Feedback', as I don't know that any feedback is required.

This is possibly one that @andrewserong and @tellthemachines might want to be aware of.

@tellthemachines tellthemachines added the [Feature] Layout Layout block support, its UI controls, and style output. label Apr 12, 2023
@tellthemachines
Copy link
Contributor

Yup, looks like a bug all right. Basic layout styles should be independent of whether the theme styles are applied to the editor view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Gallery Affects the Gallery Block - used to display groups of images [Feature] Layout Layout block support, its UI controls, and style output. [Feature] Themes Questions or issues with incorporating or styling blocks in a theme. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

5 participants