feat(style): adjust mobile TOC style (#155)

This commit is contained in:
Dillon
2020-03-15 00:39:23 +08:00
committed by GitHub
parent fc10c46d37
commit 344f2f809c
4 changed files with 22 additions and 16 deletions

View File

@@ -8,7 +8,11 @@
{{- /* iconfont */ -}}
{{- if $scratch.Get "iconfont" -}}
{{- slice "lib/iconfont/iconfont.css" | $scratch.Add "linkLocal" -}}
{{- with $CDN.iconfontCSS -}}
{{- slice . | $scratch.Add "linkCDN" -}}
{{- else -}}
{{- slice "lib/iconfont/iconfont.css" | $scratch.Add "linkLocal" -}}
{{- end -}}
{{- end -}}
{{- /* Smooth Scroll */ -}}