fix: keep lead filters on one row

This commit is contained in:
duanshuwen
2026-08-27 10:01:16 +08:00
parent afd0973c2d
commit d1c6bec12d
2 changed files with 2 additions and 1 deletions

View File

@@ -36,5 +36,6 @@ describe("LeadsPage initial loading", () => {
const styles = await readFile(fileURLToPath(new URL("../styles.css", import.meta.url)), "utf8");
expect(styles).toContain(".lead-filters > .el-button { width: 60px; }");
expect(styles).toContain(".lead-filters { display: grid; grid-template-columns: 170px 170px minmax(140px, 1fr) 60px 60px; gap: 10px; }");
});
});

View File

@@ -59,7 +59,7 @@ button, input { font: inherit; }
.single-media-heading { justify-content: space-between; }
.single-media-preview { width: 100%; height: 150px; border-radius: 8px; background: #f1f5f9; }
.lead-filter-card { margin-bottom: 16px; }
.lead-filters { display: grid; grid-template-columns: 170px 170px minmax(180px, 1fr) auto; gap: 10px; }
.lead-filters { display: grid; grid-template-columns: 170px 170px minmax(140px, 1fr) 60px 60px; gap: 10px; }
.lead-filters > .el-button { width: 60px; }
.lead-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding-top: 16px; color: var(--muted); font-size: 12px; }
.lead-summary { display: grid; gap: 4px; min-width: 0; }