Fix gallery image borders being slightly off

This commit is contained in:
Joshua Goins 2023-04-17 16:46:49 -04:00
parent b24be37ce2
commit 1dc7f9ef8a
2 changed files with 4 additions and 5 deletions

View file

@ -253,8 +253,7 @@ figure figcaption {
white-space: nowrap; white-space: nowrap;
} }
.grid-item { .grid-item img {
margin-bottom: 10px;
border: 1px inset black; border: 1px inset black;
border-radius: 3px; border-radius: 3px;
} }

View file

@ -34,13 +34,13 @@
{{ with $image }} {{ with $image }}
{{ if $.Params.threed }} {{ if $.Params.threed }}
{{ with resources.Get "3d.png" }} {{ with resources.Get "3d.png" }}
<img alt="Viewable 3D" title="Viewable 3D" style="z-index: 1; position: absolute; left: 10px; top: 10px" src="{{ .Permalink }}"> <img alt="Viewable 3D" title="Viewable 3D" style="z-index: 1; position: absolute; left: 10px; top: 10px; border: none" src="{{ .Permalink }}">
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ if $.Params.animation }} {{ if $.Params.animation }}
{{ with resources.Get "play-circle.png" }} {{ with resources.Get "play-circle.png" }}
<img alt="Viewable Animation" title="Viewable Animation" style="z-index: 1; position: absolute; left: 10px; top: 10px" src="{{ .Permalink }}"> <img alt="Viewable Animation" title="Viewable Animation" style="z-index: 1; position: absolute; left: 10px; top: 10px; border: none" src="{{ .Permalink }}">
{{ end }} {{ end }}
{{ end }} {{ end }}