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

DP-35365: Fix image styles in rich text with text wrapping #1938

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

arthurbaghdas
Copy link
Contributor

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...

@@ -24,6 +24,12 @@ $figures-gutter: 20px;
margin: 10px $figures-gutter 10px $figures-gutter;
}

@media ($bp-x-small-max) {
Copy link
Contributor

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.

@clairesunstudio
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants