We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9508024 commit c24da24Copy full SHA for c24da24
src/components/styles/layout.scss
@@ -62,6 +62,7 @@
62
gap: v.$spacing-xs;
63
height: 320px;
64
margin: 0 auto;
65
+ padding-right: v.$spacing-xs; // 添加右侧内边距
66
transition: all 0.3s ease;
67
68
@media (max-width: 768px) {
@@ -76,14 +77,17 @@
76
77
78
.variables-search {
79
flex-shrink: 0; // 防止搜索框被压缩
- padding: 0 12px;
80
+ padding: 0 v.$spacing-xs; // 减小padding以确保不会导致溢出
81
margin-bottom: v.$spacing-xs;
82
+ width: 100%; // 确保宽度为100%
83
84
:deep(.el-input) {
85
.el-input__wrapper {
86
padding: 0 8px;
87
height: 32px;
88
border-radius: 16px;
89
+ width: 100%; // 确保输入框占满容器宽度
90
+ margin-right: v.$spacing-xs; // 添加右侧边距确保边框可见
91
}
92
93
0 commit comments