allow cover img zoom
This commit is contained in:
parent
c948d475fd
commit
edc5565447
|
@ -108,7 +108,6 @@
|
||||||
|
|
||||||
.entry-cover img {
|
.entry-cover img {
|
||||||
border-radius: var(--radius);
|
border-radius: var(--radius);
|
||||||
pointer-events: none;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
|
@ -234,6 +234,7 @@
|
||||||
{{- if site.Params.assets.disableFingerprinting }}integrity="{{ $imagezoom.Data.Integrity }}"{{- end }}
|
{{- if site.Params.assets.disableFingerprinting }}integrity="{{ $imagezoom.Data.Integrity }}"{{- end }}
|
||||||
></script>
|
></script>
|
||||||
<script>
|
<script>
|
||||||
|
mediumZoom('.entry-cover img');
|
||||||
mediumZoom('.post-content img');
|
mediumZoom('.post-content img');
|
||||||
</script>
|
</script>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in New Issue