🐛 Fix(pace): patch pace theme flat-top z-index error

This commit is contained in:
Cell
2023-01-04 13:04:32 +08:00
parent f57088b47a
commit dc9956c807
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
/* To patch pace theme flat-top z-index error */
.pace {
z-index: 2000;
}
+4
View File
@@ -267,6 +267,10 @@
{{- end -}}
{{- dict "Source" $paceJS "Fingerprint" $fingerprint "Async" true "Defer" true | dict "Scratch" .Scratch "Data" | partial "scratch/script.html" -}}
{{- dict "Source" $paceCSS "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/style.html" -}}
{{- /* To patch pace theme flat-top z-index error */ -}}
{{- if eq $.Site.Params.pace.theme "flat-top" -}}
{{- dict "Source" "lib/pace/pace-patch-flat-top.css" "Fingerprint" $fingerprint | dict "Scratch" .Scratch "Data" | partial "scratch/style.html" -}}
{{- end -}}
{{- end -}}
{{- range $params.library.css -}}