Fix active dealers delete and add city filter chips.

Move the FAB off the trash/edit buttons and let admins filter active representations by city like the public dealers page.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-09-09 20:59:07 +03:30
co-authored by Cursor
parent b4c7b49bc6
commit ceafa08a05
3 changed files with 122 additions and 39 deletions
+28
View File
@@ -186,6 +186,34 @@
background: #b2ebf2;
}
.city-filter {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 4px 0 18px;
}
.city-filter button {
border: 1px solid #dde3ee;
background: #fff;
border-radius: 999px;
padding: 8px 14px;
cursor: pointer;
font: inherit;
color: #333;
}
.city-filter button.is-active {
background: var(--color-primary);
border-color: var(--color-primary);
color: #fff;
}
.city-filter button:hover:not(.is-active) {
border-color: var(--color-primary);
color: var(--color-primary);
}
.filters {
display: flex;
flex-wrap: wrap;