fix: make code block height content-aware
Engine CI / test (push) Waiting to run

This commit is contained in:
2026-08-31 20:08:32 +08:00
parent e23fa413be
commit 924b1a15f3
8 changed files with 130 additions and 40 deletions
+2 -2
View File
@@ -135,8 +135,8 @@
.slidev-layout pre {
box-sizing: border-box;
height: var(--easy-code-height, var(--easy-code-auto-height, auto));
max-height: var(--easy-code-height, var(--easy-code-auto-max-height, var(--easy-code-auto-height, none)));
height: var(--easy-code-height, auto);
max-height: var(--easy-code-height, var(--easy-code-auto-max-height, none));
overflow-x: hidden;
overflow-y: auto;
border-radius: 10px;