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;
+1 -1
View File
@@ -1,4 +1,4 @@
{{- hugo.Store.Set "version" "v0.4.0-rc-20260103125638-00870fda" -}}
{{- hugo.Store.Set "version" "v0.4.0-rc-20260104062232-a7921396" -}}
{{- .Store.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}