fix: grids and lists in rte

This commit is contained in:
Christel Westerberg
2024-07-08 15:28:58 +02:00
parent da343f45da
commit cccfbfe29a
4 changed files with 19 additions and 14 deletions

View File

@@ -14,20 +14,20 @@
gap: var(--Spacing-x1);
}
.ol:has(li:nth-last-child(n + 4)),
.ul:has(li:nth-last-child(n + 4)) {
.ol:has(li:nth-last-child(n + 5)),
.ul:has(li:nth-last-child(n + 5)) {
grid-template-columns: 1fr 1fr;
grid-auto-flow: column;
}
.ol > li::marker {
color: var(--Primary-Light-On-Surface-Accent);
}
.ul:has(.heart),
.ul:has(.check) {
.li:has(.heart),
.li:has(.check) {
list-style: none;
}
.li:has(.heart),
.li:has(.check) {
display: flex;
@@ -54,7 +54,7 @@
}
.container {
display: "grid";
display: grid;
gap: var(--Spacing-x3);
max-width: 1197px;
}