Opened 9 months ago
Closed 6 months ago
#61132 closed defect (bug) (fixed)
Twenty Twenty: Quote block border does not reflect text alignment on front-end
Reported by: | viralsampat | Owned by: | karmatosed |
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | 5.3 |
Component: | Bundled Theme | Keywords: | has-patch needs-testing commit |
Focuses: | ui, css | Cc: |
Description
Hello all,
I have reviewed the "Quote" block into the twenty-twenty theme and found that its align text functionality is not working properly in the front-end site.
When we change "Quote" block align text to "Align Text Right" then in editor side its working and move left border to right side and also changed text align from left to right.
But, when we checked it to front-end side it changed only text from left to right. The border is displaying as it it on the left end side. I think that it should be change from left to right as well.
For better understanding I have attached its screenshots at bottom of the page.
Thanks,
Attachments (8)
Change History (15)
@
9 months ago
I have checked above mentioned issue and I have resolved it and added patch. Also, I have attached screenshot after resolved this issue.
#2
@
6 months ago
- Keywords has-patch needs-testing added; dev-feedback removed
I think I have worked out the steps to this just to confirm.
- Select a quote block.
- Align it left.
- The border stays where expected front and back.
- Align it right.
- The border stays where expected in the editor but not on the front of the site.
I have uploaded some screenshots to show this.
As a result a solution should resolve this and I haven't tested the attached PR but I will do that.
#4
@
6 months ago
- Owner set to karmatosed
- Status changed from new to assigned
Thank you @sabernhardt I am going to test this and look at progressing.
#5
@
6 months ago
- Summary changed from Twenty Twenty Theme: Quote block align text is not working properly in front-end side. to Twenty Twenty: Quote block border does not reflect text alignment on front-end
- Version changed from 6.5 to 5.3
While Twenty Twenty was built, the editor had used style attributes for text alignment. Since 5.3, the Quote block has used class names for alignment. I made a patch to update the existing rules for center- and right-aligned Quote blocks.
Back-end