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

Centre-aligning the file block doesn't centre-align anything #8296

Closed
sarahmonster opened this issue Jul 30, 2018 · 1 comment
Closed

Centre-aligning the file block doesn't centre-align anything #8296

sarahmonster opened this issue Jul 30, 2018 · 1 comment
Labels
[Feature] Blocks Overall functionality of blocks [Type] Bug An existing feature does not function as intended

Comments

@sarahmonster
Copy link
Member

sarahmonster commented Jul 30, 2018

When centre-aligning the file block, it looks exactly the same in the editor as the left-aligned and default file block.

Default alignment:
Uploading Screenshot 2018-07-30 14.51.48.png…

Centre-aligned:
screenshot 2018-07-30 14 51 59

Left-aligned:
screenshot 2018-07-30 14 52 27

Right-aligned:
screenshot 2018-07-30 14 52 19

To Reproduce
Steps to reproduce the behavior:

  1. Create a new post and add a file.
  2. Centre-align block using the toolbar.
  3. See left alignment!

Tested in Firefox Nightly on Mac. Seems to be properly centre-aligned in the frontend—looks as though the alignment class just isn't added in the editor.

@sarahmonster sarahmonster changed the title File Centre-aligning the file block doesn't centre-align anything Jul 30, 2018
@sarahmonster sarahmonster added [Type] Bug An existing feature does not function as intended [Feature] Blocks Overall functionality of blocks labels Jul 30, 2018
@sarahmonster sarahmonster mentioned this issue Jul 30, 2018
7 tasks
@noisysocks
Copy link
Member

Fixed by #8303.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants