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%;
margin: 25px 0;
&.left {
img {
margin-right: auto;
}
&.left, img {
margin-right: auto;
}
&.center {
img {
margin-left: auto;
margin-right: auto;
}
&.center, img {
margin-left: auto;
margin-right: auto;
}
&.right {
img {
margin-left: auto;
}
&.right, img {
margin-left: auto;
}
figcaption {