diff --git a/src/components/Gallery.vue b/src/components/Gallery.vue index da2d705..d21a382 100644 --- a/src/components/Gallery.vue +++ b/src/components/Gallery.vue @@ -63,7 +63,9 @@ export default { }, }, mounted() { - const images = Array.from(this.$el.querySelectorAll("img")); + const sel = ".gallery__viewport .figure"; + const elements = this.$el.querySelectorAll(sel); + const images = Array.from(elements); this.images = images; }, }; @@ -83,6 +85,8 @@ export default { width: 1em; height: 1em; + z-index: 1; + border: { top: 0.125em solid #fff; right: 0.125em solid #fff;