fix: gallery and carousel wouldn't show without other statically sized elements

This commit is contained in:
ZhenShuo Leo committed 2025-12-15 20:26:04 +08:00
1 parent 1be60f89da
commit 4422c4b517
4 files changed
+25 -14

No files matched your search

+12
View File
@@ -198,6 +198,18 @@ pre {
box-shadow: 5px 5px 20px 1px rgba(0, 0, 0, 0.3);
}
/* placeholder for gallery/carousel */
@variant max-md {
.width-patch {
width: 90vw;
}
}
@variant min-md {
.width-patch {
width: 65ch;
}
}
.anchor {
display: block;
position: relative;