Skip to content

Commit f4d31db

Browse files
Merge branch 'fix/mermaid-theme-change'
2 parents a611966 + 076620e commit f4d31db

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

styles.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,17 @@
7373
padding: 0;
7474
}
7575

76+
html,
77+
body {
78+
height: 100%;
79+
overflow: hidden;
80+
}
81+
7682
body {
7783
background-color: var(--bg-color);
7884
color: var(--text-color);
7985
/* PERF-021: Removed background-color transition to avoid full-viewport repaint on theme toggle */
8086
transition: color 0.15s ease;
81-
min-height: 100vh;
8287
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Hiragino Kaku Gothic ProN", Meiryo, "Malgun Gothic", "Apple SD Gothic Neo", "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
8388
}
8489

0 commit comments

Comments
 (0)