Skip to content

Commit dc9d615

Browse files
hejsztynxCopilot
andauthored
fix: css vars fallbacks
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 009d07c commit dc9d615

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/web/EnrichedText.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
margin-right: var(--et-ul-gap-width, 16px);
184184

185185
position: relative;
186-
top: calc(var(--et-ul-bullet-size) * 0.5 - 0.35em);
186+
top: calc(var(--et-ul-bullet-size, 8px) * 0.5 - 0.35em);
187187
}
188188

189189
.eti-editor ol,
@@ -293,7 +293,7 @@
293293

294294
margin-top: 0;
295295
position: relative;
296-
top: calc(var(--et-checkbox-box-size) * 0.5 - 0.35em);
296+
top: calc(var(--et-checkbox-box-size, 24px) * 0.5 - 0.35em);
297297
}
298298

299299
.eti-editor ul[data-type='checkboxList'] > li > label input[type='checkbox'] {
@@ -316,7 +316,7 @@
316316
list-style: none;
317317
padding-left: calc(
318318
var(--et-checkbox-margin-left, 16px) +
319-
var(--et-checkbox-checkbox-size, 24px) +
319+
var(--et-checkbox-box-size, 24px) +
320320
var(--et-checkbox-gap-width, 16px)
321321
);
322322
}

0 commit comments

Comments
 (0)