aboutsummaryrefslogtreecommitdiff
path: root/src/components/TileImg.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-03-27 08:30:45 +1100
committerTerry Truong <terry06890@gmail.com>2022-03-27 08:30:45 +1100
commit4a469f8f6fab97d591929933b8cc73085955ab25 (patch)
treec8c632348971e61176eda5fb97cceeef80e4554c /src/components/TileImg.vue
parent3cfe6761b450ab2d31c71e06bb83de3f057f1923 (diff)
Move svg details to index.html
Diffstat (limited to 'src/components/TileImg.vue')
-rw-r--r--src/components/TileImg.vue8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/components/TileImg.vue b/src/components/TileImg.vue
index 849be8c..00cc2e6 100644
--- a/src/components/TileImg.vue
+++ b/src/components/TileImg.vue
@@ -98,12 +98,8 @@ export default defineComponent({
<h1 :style="headerStyles">{{layoutNode.tolNode.name}}</h1>
<svg :style="infoIconStyles" class="hover:cursor-pointer"
@mouseenter="onInfoMouseEnter" @mouseleave="onInfoMouseLeave"
- @click.stop="onInfoClick" @mousedown.stop @mouseup.stop
- xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"
- stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <circle cx="12" cy="12" r="10"/>
- <line x1="12" y1="16" x2="12" y2="12"/>
- <line x1="12" y1="8" x2="12.01" y2="8"/>
+ @click.stop="onInfoClick" @mousedown.stop @mouseup.stop>
+ <use href="#svg-info"/>
</svg>
</div>
</template>