From e3a86973922fa9370900f2e3b07a78222e44b056 Mon Sep 17 00:00:00 2001
From: Terry Truong <terry06890@gmail.com>
Date: Wed, 29 Jun 2022 14:49:01 +1000
Subject: Remove constant-scrollbar-gap for ancestry-bar

Avoided having overflow:auto cause tile-overlapping scrollbar by
using less tile-padding. Trying to solve this by dynamically
detecting overflow seemed to get messy.
---
 src/components/TileInfoModal.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/TileInfoModal.vue')

diff --git a/src/components/TileInfoModal.vue b/src/components/TileInfoModal.vue
index 274f54f..c7b6305 100644
--- a/src/components/TileInfoModal.vue
+++ b/src/components/TileInfoModal.vue
@@ -20,7 +20,7 @@
 			<div class="flex gap-1">
 				<div class="w-1/2">
 					<div v-if="imgInfos[idx] == null" :style="getImgStyles(nodes[idx])"/>
-					<a v-else :href="imgInfos[idx].url" target="_blank">
+					<a v-else :href="imgInfos[idx]!.url" target="_blank">
 						<div :style="getImgStyles(nodes[idx])"/>
 					</a>
 					<ul v-if="imgInfos[idx]! != null">
-- 
cgit v1.2.3

