Merge pull request #2771 from alxhslm/gallery-captions

Feat: Allow images inside gallery to have captions
This commit is contained in:
Nuno C. authored and GitHub committed 2026-02-11 21:47:24 +00:00
commit 326e3536e9
3 files changed
+39 -1

No files matched your search

+16
View File
@@ -83,6 +83,22 @@
width: calc(100% - 5px);
margin: 0px !important;
}
.gallery figure {
display: inline-block;
margin: 0;
}
.gallery figcaption {
margin-top: 0.25rem;
font-size: 0.875rem;
line-height: 1.25rem;
color: rgb(var(--color-neutral-600));
}
.dark .gallery figcaption {
color: rgb(var(--color-neutral-400));
}
@media (width >= 640px) {
.sm\:grid-w10 {
width: calc(10% - 5px);