지도에는 전체 개수가 표시되고, 필터 버튼이 있는 곳에 필터링 된 개수가 표시되도록 수정

This commit is contained in:
2026-08-23 03:26:17 +09:00
parent 13905babf3
commit 262c74fbb6
2 changed files with 11 additions and 1 deletions
+9
View File
@@ -368,6 +368,15 @@
border-color: transparent; border-color: transparent;
} }
.pole-list__filter-count {
margin-left: auto;
align-self: center;
font-size: 12px;
font-weight: 700;
color: #3b82f6;
white-space: nowrap;
}
.pole-list__area-filter { .pole-list__area-filter {
padding: 6px 12px; padding: 6px 12px;
border-bottom: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb;
+2 -1
View File
@@ -919,7 +919,7 @@ function App() {
onClick={() => setListOpen((o) => !o)} onClick={() => setListOpen((o) => !o)}
className="list-toggle" className="list-toggle"
> >
📋 {filteredPoles.length}기 📋 {poles.length}기
</button> </button>
)} )}
@@ -1034,6 +1034,7 @@ function App() {
{f.label} {f.label}
</button> </button>
))} ))}
<span className="pole-list__filter-count">{filteredPoles.length}기</span>
</div> </div>
<div className="pole-list__area-filter"> <div className="pole-list__area-filter">