-
Notifications
You must be signed in to change notification settings - Fork 22
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
DP-35365: Fix image styles in rich text with text wrapping #1938
base: develop
Are you sure you want to change the base?
Conversation
@@ -24,6 +24,12 @@ $figures-gutter: 20px; | |||
margin: 10px $figures-gutter 10px $figures-gutter; | |||
} | |||
|
|||
@media ($bp-x-small-max) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of adding a new media query, I wonder if there's any reasons of needing the previous one @media ($bp-x-small-min)
to add the margins - the only thing I can think of is when the figure expands the full width on mobile and we want to remove the left-right margins.
It looks like the images on mobile got smaller in the backstop report, due to the unwanted margins. It could be related to the previous comment I had #1938 (comment) |
Any PRs being created needs a changelog.txt file before being merged into dev. See: Change Log Instructions
Description
Related Issue / Ticket
Steps to Test
Screenshots
Use something like licecap to capture gifs to demonstrate behaviors.
Additional Notes:
Anything else to add?
Impacted Areas in Application
@todo
Today I learned...