Merge pull request #41 from urlordjames/master

properly center figures
This commit is contained in:
Paweł Romanowski 2023-05-22 09:18:40 +02:00 committed by GitHub
commit 07b99b9758
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,23 +83,17 @@ figure {
max-width: 100%; max-width: 100%;
margin: 25px 0; margin: 25px 0;
&.left { &.left, img {
img { margin-right: auto;
margin-right: auto;
}
} }
&.center { &.center, img {
img { margin-left: auto;
margin-left: auto; margin-right: auto;
margin-right: auto;
}
} }
&.right { &.right, img {
img { margin-left: auto;
margin-left: auto;
}
} }
figcaption { figcaption {