This commit is contained in:
Jerry
2024-10-13 19:20:11 +08:00
parent 975134fb14
commit 9398cf5190
8 changed files with 161 additions and 117 deletions

View File

@@ -75,9 +75,31 @@ if hexo-config('mermaid.enable')
pre > code.mermaid
display: none
.chartjs-wrap
margin: 0 0 20px
text-align: center
if hexo-config('chartjs.enable')
.chartjs-container
display: flex
flex-direction: column
justify-content: center
align-items: center
margin: 0 0 20px
text-align: center
gap: 20px
+maxWidth600()
.chartjs-wrap
width: 100% !important
&.chartjs-abreast
flex-direction: row
+maxWidth600()
flex-direction: column
.chartjs-wrap
width: -webkit-fill-available
canvas
display: inline-block !important
.utterances,
.fb-comments iframe