diff --git a/src/assets/images/icon-zoom-in.svg b/src/assets/images/icon-zoom-in.svg new file mode 100644 index 0000000..79d15f1 --- /dev/null +++ b/src/assets/images/icon-zoom-in.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/images/icon-zoom-out.svg b/src/assets/images/icon-zoom-out.svg new file mode 100644 index 0000000..3e7b350 --- /dev/null +++ b/src/assets/images/icon-zoom-out.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/views/GameView.vue b/src/views/GameView.vue index 44bf958..6168660 100644 --- a/src/views/GameView.vue +++ b/src/views/GameView.vue @@ -446,17 +446,13 @@ const handleZoomOut = () => { class="w-[50px] h-[50px] p-2 cursor-pointer pointer-events-auto rounded-full bg-gradient-to-b from-[#FFFFFF] to-[#DAFFFF] border border-[#DBDFEO] shadow-button flex justify-center items-center" @click="handleZoomIn" > -
- + -
+
-
- - -
+
{ background-position: center; } +.zoom-in { + background-image: url('@/assets/images/icon-zoom-in.svg'); + background-repeat: no-repeat; + background-position: center; +} + +.zoom-out { + background-image: url('@/assets/images/icon-zoom-out.svg'); + background-repeat: no-repeat; + background-position: center; +} + .score-yellow { background: #ffc23b; border: 3px solid #fff7ae;