fix(工具箱): 优化界面样式

This commit is contained in:
2025-02-03 21:50:49 +08:00
parent 0631f3ae24
commit 7291dedeaf
2 changed files with 11 additions and 3 deletions

View File

@@ -14,6 +14,7 @@
label-align="left" label-align="left"
label-placement="top" label-placement="top"
label-width="auto" label-width="auto"
@contextmenu.stop
> >
<n-form-item label="连接地址:"> <n-form-item label="连接地址:">
@@ -79,6 +80,7 @@
ref="logsContentRef" ref="logsContentRef"
class="logs-content" class="logs-content"
:style="{ height: (data.logsHeight + 'px') }" :style="{ height: (data.logsHeight + 'px') }"
@contextmenu.stop
> >
<div class="message-list"> <div class="message-list">
<div <div
@@ -531,7 +533,7 @@ onBeforeUnmount(() => {
.message-item { .message-item {
display: flex; display: flex;
margin: 0.5rem 0; margin: 8px 0;
word-break: break-all; word-break: break-all;
> * { > * {

View File

@@ -196,8 +196,14 @@ function handleOpenTool(data) {
border-radius: 8px; border-radius: 8px;
} }
> .n-card:not(:first-child) { > .n-card {
margin-top: 20px; &:not(:first-child) {
margin-top: 20px;
}
> .n-card__content {
height: 0;
}
} }
.form-no-feedback .n-form-item-feedback-wrapper, .form-no-feedback .n-form-item-feedback-wrapper,