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

Remove images borders, scale wide images a bit larger #2605

Merged
merged 3 commits into from
May 9, 2019

Conversation

nathanstitt
Copy link
Member

image

Re-enables floating images with breaks after the series of them.

Adds new "independent" images that will be horizontally centered
if (figure.classList.contains('splash')) { return; }
// figures that are not in a series
if (!hasSiblingFigure(figure)) {
figure.classList.add('standalone');
Copy link
Member

Choose a reason for hiding this comment

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

Didn't you already do this on another PR but called this 'independent'?

Copy link
Member

Choose a reason for hiding this comment

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

Ah nvm I see you just renamed it

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, i thought "standalone" was clearer but 🤷‍♂

@nathanstitt nathanstitt merged commit 979a743 into master May 9, 2019
@nathanstitt nathanstitt deleted the fix/img-border branch May 9, 2019 19:25
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