style(frontend): 搜索框贴左边缘对齐
工具栏去掉左侧内边距,让搜索框与页头、指标卡的左边缘对齐;右侧保留 16px 给筛选控件,窄屏恢复左右对称留白。
This commit is contained in:
@@ -77,7 +77,8 @@
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
padding: 12px 16px;
|
/* 搜索框贴卡片左边缘,和页头 / 指标卡对齐;右侧给筛选留 16px 呼吸位 */
|
||||||
|
padding: 12px 16px 12px 0;
|
||||||
border-bottom: 1px solid var(--su-border);
|
border-bottom: 1px solid var(--su-border);
|
||||||
background-color: var(--su-bg-subtle);
|
background-color: var(--su-bg-subtle);
|
||||||
}
|
}
|
||||||
@@ -832,6 +833,7 @@
|
|||||||
.toolbar {
|
.toolbar {
|
||||||
align-items: stretch;
|
align-items: stretch;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
padding-left: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toolbar-search {
|
.toolbar-search {
|
||||||
|
|||||||
Reference in New Issue
Block a user