aboutsummaryrefslogtreecommitdiff
path: root/src/components/Settings.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/Settings.vue
parent3cfe6761b450ab2d31c71e06bb83de3f057f1923 (diff)
Move svg details to index.html
Diffstat (limited to 'src/components/Settings.vue')
-rw-r--r--src/components/Settings.vue8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/components/Settings.vue b/src/components/Settings.vue
index c364924..2b8cd35 100644
--- a/src/components/Settings.vue
+++ b/src/components/Settings.vue
@@ -39,12 +39,8 @@ export default defineComponent({
<template>
<div class="absolute bottom-4 right-4 min-w-[5cm] p-3 bg-stone-50 visible rounded-md shadow shadow-black">
- <svg class="block absolute top-2 right-2 w-6 h-6 hover:cursor-pointer"
- @click="closeClicked" ref="closeIcon"
- 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">
- <line x1="18" y1="6" x2="6" y2="18"/>
- <line x1="6" y1="6" x2="18" y2="18"/>
+ <svg class="block absolute top-2 right-2 w-6 h-6 hover:cursor-pointer" @click="closeClicked" ref="closeIcon">
+ <use href="#svg-close"/>
</svg>
<h1 class="text-xl font-bold mb-2">Settings</h1>
<hr class="border-stone-400"/>