This commit is contained in:
张成
2025-11-10 16:40:26 +08:00
parent 022aecc93d
commit 9150aec3f2
3 changed files with 6 additions and 5 deletions

View File

@@ -86,7 +86,9 @@
align-items: center;
gap: 5.85px; // 根据设计稿调整间距5.853658676147461px
padding: 7.8px; // 根据设计稿调整内边距7.804878234863281px
width: 240px; // 根据设计稿:固定宽度 240px
flex: 1; // 响应式:占据剩余空间,适配不同屏幕
max-width: 61%; // 根据设计稿:最大宽度 240px大屏幕限制
min-width: 0; // 允许在小屏幕上缩小
height: 29.27px; // 根据设计稿调整高度29.27px
min-height: 29.27px; // 确保最小高度
box-sizing: border-box;
@@ -100,7 +102,6 @@
font-weight: 400;
line-height: 17.57px; // 1.2857142857142858em ≈ 17.57px
letter-spacing: -0.22px; // -1.6428571734045228% of 13.66px
flex-shrink: 0; // 防止搜索框被压缩
.searchIcon {
flex-shrink: 0; // 防止图标被压缩