From 8fcf5694227da09ec868fcb80abe6be5d217e372 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 19 Jan 2026 15:46:16 +0800
Subject: [PATCH] feat:弹窗中涉及表格相关样式调整
---
applications/drone-command/src/styles/common/cockpit.scss | 41 ++++++++++++++++++-----------------------
1 files changed, 18 insertions(+), 23 deletions(-)
diff --git a/applications/drone-command/src/styles/common/cockpit.scss b/applications/drone-command/src/styles/common/cockpit.scss
index a720080..6a69422 100644
--- a/applications/drone-command/src/styles/common/cockpit.scss
+++ b/applications/drone-command/src/styles/common/cockpit.scss
@@ -568,7 +568,7 @@
font-weight: bold;
font-size: 18px;
color: #FFFFFF;
- line-height: 22px;
+ line-height: 40px;
text-align: left;
font-style: normal;
text-transform: none;
@@ -920,7 +920,7 @@
font-weight: 500;
font-size: 14px;
color: #FFFFFF;
- line-height: 22px;
+ line-height: 40px;
font-style: normal;
text-transform: none;
}
@@ -1056,7 +1056,7 @@
font-weight: bold;
font-size: 18px;
color: #FFFFFF;
- line-height: 22px;
+ line-height: 40px;
text-align: left;
font-style: normal;
text-transform: none;
@@ -1097,7 +1097,7 @@
font-weight: 500;
font-size: 14px;
color: #D4D5D7;
- line-height: 22px;
+ line-height: 40px;
text-align: right;
font-style: normal;
text-transform: none;
@@ -1109,7 +1109,7 @@
font-weight: 400;
font-size: 14px;
color: #9E9EBA;
- line-height: 22px;
+ line-height: 40px;
text-align: left;
font-style: normal;
text-transform: none;
@@ -1139,7 +1139,7 @@
font-weight: 500;
font-size: 14px;
color: #D4D5D7;
- line-height: 22px;
+ line-height: 40px;
text-align: right;
font-style: normal;
text-transform: none;
@@ -1148,6 +1148,7 @@
.el-form-item__content {
display: flex;
align-items: center;
+ line-height: 40px;
.el-input,
.el-input-number {
@@ -1272,7 +1273,7 @@
font-weight: bold;
font-size: 18px;
color: #FFFFFF;
- line-height: 22px;
+ line-height: 40px;
text-align: left;
font-style: normal;
text-transform: none;
@@ -1373,11 +1374,13 @@
}
.dialog-container {
- padding: 0 16px;
height: 0;
flex: 1;
+ padding: 0 16px;
display: flex;
flex-direction: column;
+ overflow-y: auto;
+
.detail-title {
margin-bottom: 20px;
@@ -1402,7 +1405,7 @@
font-weight: 500;
font-size: 14px;
color: #D4D5D7;
- line-height: 22px;
+ line-height: 40px;
text-align: right;
font-style: normal;
text-transform: none;
@@ -1425,6 +1428,7 @@
.command-table-container {
+ height: auto;
margin-top: 0;
margin-bottom: 20px;
@@ -1441,6 +1445,8 @@
display: flex;
flex-direction: column;
+ overflow-y: auto;
+
.el-form-item {
display: flex;
align-items: center;
@@ -1452,7 +1458,7 @@
font-weight: 500;
font-size: 14px;
color: #D4D5D7;
- line-height: 22px;
+ line-height: 40px;
text-align: right;
font-style: normal;
text-transform: none;
@@ -1461,6 +1467,7 @@
.el-form-item__content {
display: flex;
align-items: center;
+ line-height: 40px;
.el-input,
.el-input-number {
@@ -1548,8 +1555,6 @@
}
.search-table-container {
- height: 0;
- flex: 1;
display: flex;
flex-direction: column;
@@ -1590,21 +1595,11 @@
}
.el-form-item {
- height: 0;
- flex: 1;
- display: flex;
- flex-direction: column;
-
.el-form-item__content {
width: 100%;
- height: 0;
- flex: 1;
- display: flex;
- flex-direction: column;
.el-table {
- height: 0;
- flex: 1;
+ height: auto;
}
}
}
--
Gitblit v1.9.3