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 ca75d21 commit b7adcefCopy full SHA for b7adcef
src/components/styles/layout.scss
@@ -9,7 +9,7 @@
9
padding: 0 v.$spacing-lg;
10
flex-direction: column;
11
align-items: center;
12
- transition: all 0.3s ease;
+ transition: none; // 移除整体过渡动画,避免影响初始渲染
13
margin-top: v.$spacing-xs;
14
15
&:not(.horizontal-layout) {
@@ -130,13 +130,14 @@
130
}
131
132
.variables-section {
133
- width: 320px;
+ width: 320px; // 保持固定宽度
134
+ min-width: 320px; // 添加最小宽度确保初始渲染正确
135
display: flex;
136
137
gap: v.$spacing-xs;
138
margin: 0 auto;
139
padding-right: v.$spacing-xs; // 添加右侧内边距
140
+ transition: none; // 移除过渡动画
141
142
.variables-search {
143
flex: 0 0 auto;
0 commit comments