♻️ Refactor: update layout and media styles to use fi-container class, improve Mermaid script handling (#614)

docs: https://fixit.lruihao.cn/documentation/content-management/diagrams-support/mermaid/#cdn
This commit is contained in:
Cell
2025-08-12 12:04:15 +08:00
committed by GitHub
parent a37eeecd79
commit 45f101a456
7 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -26,7 +26,7 @@
{{- partial "header.html" . -}}
{{- partial "breadcrumb.html" . -}}
{{- $toc := .Store.Get "toc" -}}
<main class="container{{ if (eq $toc.enable true) | and (eq $toc.position `left`) }} container-reverse{{ end }}">
<main class="fi-container"{{ if (eq $toc.enable true) | and (eq $toc.position `left`) }} data-reverse{{ end }}>
{{- block "content" . }}{{ end -}}
</main>
{{- partialCached "footer.html" . -}}