fix(code): adjust max-width of code block titles for better layout

This commit is contained in:
Cell
2026-01-04 14:22:31 +08:00
parent a79213969f
commit 84c1358ecb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -211,7 +211,7 @@ pre {
transform: translateX(-50%);
background-color: var(#{$rootPrefix}code-header-background-color);
padding-inline: 1em;
max-width: 80%;
max-width: calc(100% - 200px);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;