fix(ui): 完善界面交互与开发配置
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.smart-router-page .smart-router-intro.console-alert {
|
||||
margin-block: 0;
|
||||
}
|
||||
|
||||
.smart-router-alert {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
@@ -181,7 +185,7 @@
|
||||
.smart-router-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0 16px;
|
||||
gap: 0 24px;
|
||||
}
|
||||
|
||||
.smart-router-grid-full {
|
||||
@@ -274,3 +278,67 @@
|
||||
min-width: 0;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.smart-router-settings-form {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
column-gap: 24px;
|
||||
}
|
||||
|
||||
.smart-router-setting-control.ant-input-number,
|
||||
.smart-router-setting-control.ant-select,
|
||||
.smart-router-setting-control.ant-input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.smart-router-key-tools {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.smart-router-key-input {
|
||||
width: min(320px, 100%);
|
||||
}
|
||||
|
||||
.smart-router-sheet .ant-drawer-body {
|
||||
padding: 24px;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.smart-router-sheet .ant-modal {
|
||||
max-width: calc(100vw - 32px);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.smart-router-card,
|
||||
.smart-router-consent-row {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.smart-router-settings-form {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.smart-router-sheet .smart-router-inline > .ant-select,
|
||||
.smart-router-sheet .smart-router-inline > .ant-input-number {
|
||||
max-width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.smart-router-sheet .smart-router-model-select {
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.smart-router-key-tools > .ant-space-item,
|
||||
.smart-router-key-input {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.smart-router-kv {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.smart-router-kv dd {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user