diff --git a/src/components/BowTargetEdit.vue b/src/components/BowTargetEdit.vue
index f548e3b..4b89ced 100644
--- a/src/components/BowTargetEdit.vue
+++ b/src/components/BowTargetEdit.vue
@@ -151,16 +151,17 @@ onMounted(async () => {
- {{ arrow.ring === 0 ? "未上靶" : arrow.ring
- }}
+ {{ arrow.ring === 0 ? "未上靶" : arrow.ring }}
+ {{ arrow.ring > 0 ? "环" : "" }}
+ >环
+
@@ -220,9 +221,8 @@ onMounted(async () => {
.edit-buttons {
position: absolute;
- top: 50%;
- left: 50%;
- transform: translateX(-50%) translateY(-50%);
+ top: calc(50% - 44px);
+ left: calc(50% - 44px);
background: #18ff6899;
width: 88px;
height: 88px;
@@ -230,18 +230,20 @@ onMounted(async () => {
align-items: flex-end;
}
-.edit-buttons > text {
+.edit-btn-text {
width: 100%;
- display: block;
+ display: flex;
+ justify-content: center;
+}
+
+.edit-btn-text > text {
line-height: 50px;
- text-align: center;
font-size: 24px;
font-weight: bold;
color: #fff;
}
.edit-btn {
- transform: translateX(-50%) translateY(-50%);
width: 24px;
height: 24px;
display: flex;
@@ -256,17 +258,17 @@ onMounted(async () => {
}
.confirm-btn {
- left: 50%;
- bottom: -24px;
+ left: calc(50% - 12px);
+ bottom: -12px;
}
.delete-btn {
- left: 50%;
- top: 0;
+ left: calc(50% - 12px);
+ top: -12px;
}
.drag-btn {
- right: -24px;
- bottom: -24px;
+ right: -12px;
+ bottom: -12px;
}