Center the whole content inside figures, not just the caption

This will ensure images and captions are aligned when the image is smaller than the container.
This commit is contained in:
Alejandro Hernández
2022-01-20 11:57:26 +01:00
committed by GitHub
parent 1ffda4be8d
commit 281e0f353f
+1 -1
View File
@@ -431,12 +431,12 @@ main video {
figure {
margin: 0;
text-align: center;
}
figcaption {
font-size: 0.9rem;
color: var(--text-light);
text-align: center;
margin-bottom: 1rem;
}