modification on schema figaption display to handle grid only when the container has enough space
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Antoine M 2025-03-19 12:17:22 +01:00
parent 10a7394119
commit a76917c6f2

View File

@ -6,12 +6,17 @@
}
}
figcaption {
container-type: inline-size;
.legend,
.description {
@apply !text-base !text-neutral-600 font-medium;
}
ol {
@apply xl:grid grid-cols-2;
@container (min-width: 400px) {
background-color: blue !important;
display: grid;
grid-template-columns: 1fr 1fr;
}
}
}