Skip to content

Commit

Permalink
fix: style of medium zoom
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Jan 12, 2020
1 parent bd6ca2b commit 8918a4b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions assets/scss/_common/medium-zoom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.medium-zoom-overlay, .medium-zoom-image {
z-index: 5;
}
4 changes: 4 additions & 0 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,10 @@
{{ end }}
{{ end }}

{{ if .Site.Params.enableMediumZoom }}
@import "_common/medium-zoom.scss";
{{ end }}

{{ if and .Site.Params.enableServiceWorker (eq hugo.Environment "production") }}
@import "_common/sw-notification.scss";
{{ end }}
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"Target":"css/meme.min.0506703718e39024509757a24297c6ceddeacdef0076c67ea57f318d9d1caf13.css","MediaType":"text/css","Data":{"Integrity":"sha256-BQZwNxjjkCRQl1eiQpfGzt3qze8AdsZ+pX8xjZ0crxM="}}
{"Target":"css/meme.min.f6f31e560575a572dab212f8642437220a9c06613a02be9a8c97426214c91893.css","MediaType":"text/css","Data":{"Integrity":"sha256-9vMeVgV1pXLashL4ZCQ3IgqcBmE6Ar6ajJdCYhTJGJM="}}

0 comments on commit 8918a4b

Please sign in to comment.