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

DEV-16772: Fix quire-figure.webc styles #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anderspollack
Copy link
Contributor

@anderspollack anderspollack commented Jan 30, 2024

Update styles to correspond with thegetty/quire#893

Note: This should not be merged until after above PR has been merged + latest quire-11ty package has been updated with the PR contents

.quire-grid--2 {
width: 49%;
.quire-grid--2 > * {
width: 50%;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@geealbers I had to change where we were applying the .quire-grid--# classes, and the starter only has an instance of a 2 column grid. These percentages seem to be set intentionally slightly lower than the intended amount (49% vs 50% here). I had to adjust it back to 50% to match.

I think the DOM changes in thegetty/quire#893 might have unintentionally fixed a thing that was requiring these weird percentages, but I am going to hold off on adjusting the other column counts until we have testbed examples of figureGroups with all possible column counts

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.

1 participant