Opened 5 years ago
Closed 5 years ago
#4870 closed defect (bug) (fixed)
Theme is missing proper image left or right alignment styling
Reported by: | bph | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | HelpHub (wordpress.org/documentation) | Keywords: | needs-patch |
Cc: |
Description
Earlier today I tried to add an image to a text on an article. It worked fine in the editor as you can see in this screenshot:
In the preview in didn't quite translate it. It was right aligned but on its own 'plane' above the text. Here another screenshot
Attachments (3)
Change History (9)
This ticket was mentioned in Slack in #docs by bph. View the logs.
5 years ago
#2
@
5 years ago
- Keywords needs-design added
- Summary changed from HelpHub Theme is missing proper image left or right alignment styling to Theme is missing proper image left or right alignment styling
#4
@
5 years ago
- Keywords needs-patch added; needs-design removed
Hi,
Thanks for ticket. I can confirm the issue, this is quite uncomfortable for writing documentation.
The issue could be fixed quite easily, just need to remove this CSS rule:
.helphub-page .entry-content section .container .wp-block-image { overflow: hidden; }
Cheers,
Jb
#5
@
5 years ago
So,
We need to remove this CSS rule:
.helphub-page .entry-content section .container .wp-block-image { overflow: hidden; }
from https://wordpress.org/support/wp-content/themes/pub/wporg-support/sass/site/_helphub.scss
But it doesn’t exists on GitHub file: https://github.com/WordPress/HelpHub/blob/master/themes/wporg-support/sass/site/_helphub.scss
I added a patch, above this comment.
Cheers,
Jb
Image right aligned in editor next to text