fix: align lead filter action buttons
This commit is contained in:
@@ -31,4 +31,10 @@ describe("LeadsPage initial loading", () => {
|
||||
expect(source).toContain(">提交状态</el-button>");
|
||||
expect(source).not.toContain('@update:model-value="changeStatus(selectedLead, $event)"');
|
||||
});
|
||||
|
||||
it("keeps lead filter action buttons the same width", async () => {
|
||||
const styles = await readFile(fileURLToPath(new URL("../styles.css", import.meta.url)), "utf8");
|
||||
|
||||
expect(styles).toContain(".lead-filters > .el-button { width: 60px; }");
|
||||
});
|
||||
});
|
||||
|
||||
@@ -60,6 +60,7 @@ button, input { font: inherit; }
|
||||
.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 > .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; }
|
||||
.lead-summary span { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
|
||||
|
||||
Reference in New Issue
Block a user