Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
chore(style): improve lightgallery style code
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonzq committed Apr 29, 2020
1 parent 9e54504 commit 286bf70
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
4 changes: 0 additions & 4 deletions assets/css/_core/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,3 @@ body {
a {
text-decoration: none;
}

.lg-toolbar .lg-icon::after {
color: #999;
}
2 changes: 2 additions & 0 deletions layouts/partials/assets.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
{{- dict "source" $source "fingerprint" $fingerprint | dict "scratch" $.Scratch "data" | partial "scratch/script.html" -}}
{{- $lightGalleryConfig := dict "selector" ".lightgallery" "speed" 400 "hideBarsDelay" 2000 "thumbnail" true "exThumbImage" "data-thumbnail" "thumbWidth" 80 "thumbContHeight" 80 "actualSize" false -}}
{{- $config = dict "lightGallery" $lightGalleryConfig | merge $config -}}
{{- $styleArr := (.Scratch.Get "this").styleArr | default slice -}}
{{- $styleArr | append ".lg-toolbar .lg-icon::after { color: #999; }" | .Scratch.SetInMap "this" "styleArr" -}}
{{- end -}}

{{- $code := $params.code | default dict -}}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 286bf70

Please sign in to comment.