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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
10a7394119
commit
a76917c6f2
|
|
@ -6,12 +6,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
figcaption {
|
figcaption {
|
||||||
|
container-type: inline-size;
|
||||||
.legend,
|
.legend,
|
||||||
.description {
|
.description {
|
||||||
@apply !text-base !text-neutral-600 font-medium;
|
@apply !text-base !text-neutral-600 font-medium;
|
||||||
}
|
}
|
||||||
ol {
|
ol {
|
||||||
@apply xl:grid grid-cols-2;
|
@container (min-width: 400px) {
|
||||||
|
background-color: blue !important;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user