From 8f84469cbf316989a9af8e574a11dd612ccc562a Mon Sep 17 00:00:00 2001
From: tjx <t2856754968@163.com>
Date: 星期二, 04 十一月 2025 18:14:04 +0800
Subject: [PATCH] 样式调整1
---
components/machine.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/components/machine.vue b/components/machine.vue
index c237153..09087bd 100644
--- a/components/machine.vue
+++ b/components/machine.vue
@@ -286,6 +286,7 @@
position: absolute;
top: 8px;
right: 40px;
+ width: 200px;
z-index: 1000;
}
@@ -313,8 +314,9 @@
.item {
display: flex;
flex-direction: row;
- align-items: flex-start;
+ align-items: center;
margin-bottom: 10px;
+ gap: 10px;
}
.item h4 {
@@ -325,7 +327,8 @@
}
button {
- width: 100%;
+ width: 50%;
+ flex-shrink: 0;
padding: 10px;
font-size: 16px;
border: none;
@@ -348,7 +351,8 @@
padding: 8px;
font-size: 15px;
border: 1px solid #ccc;
- width: 100%;
+ width: 50%;
+ flex-grow: 1;
box-sizing: border-box;
}
@@ -376,7 +380,8 @@
height: 40px;
padding: 8px;
font-size: 15px;
- width: 100%;
+ width: 50%;
+ flex-grow: 1;
box-sizing: border-box;
margin-top: 0;
}
--
Gitblit v1.9.3