mirror of
https://github.com/kevquirk/simple.css.git
synced 2026-11-30 16:48:18 +01:00
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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user