From fc36499963b6efc69d50bc294d640b3ef8d24338 Mon Sep 17 00:00:00 2001
From: Dark_Phoenix_ <92178883+0DarkPhoenix@users.noreply.github.com>
Date: Sat, 30 Aug 2025 09:43:01 +0200
Subject: [PATCH] - Fixed an issue where the center of the wheel was misaligned
compared to the fortune wheel (#177)
- Fixed an issue where the move up and move down buttons all had the same icon as the remove button in the wheel options section
---
src/tools/fortune-wheel/fortune-wheel.vue | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/tools/fortune-wheel/fortune-wheel.vue b/src/tools/fortune-wheel/fortune-wheel.vue
index 3183e1dd..a0509bb2 100644
--- a/src/tools/fortune-wheel/fortune-wheel.vue
+++ b/src/tools/fortune-wheel/fortune-wheel.vue
@@ -332,7 +332,7 @@ function getTextPosition(index: number) {
:title="t('tools.fortune-wheel.texts.title-move-up')"
@click="moveOption(index, index - 1)"
>
- {{ t('tools.fortune-wheel.texts.tag-') }}
+
- {{ t('tools.fortune-wheel.texts.tag-') }}
+
- {{ t('tools.fortune-wheel.texts.tag-') }}
+
@@ -569,14 +569,14 @@ function getTextPosition(index: number) {
.wheel-center {
position: absolute;
- top: 49.5%;
+ top: 50%;
left: 50%;
width: v-bind('`${WHEEL_CONFIG.centerSize}px`');
height: v-bind('`${WHEEL_CONFIG.centerSize}px`');
border-radius: 50%;
background: #414141;
border: 4px solid #333;
- transform: t(-50%, -50%);
+ transform: translate(-50%, -50%);
z-index: 10;
display: flex;
align-items: center;