mirror of
https://github.com/15000rpm/Pole-Mapper.git
synced 2026-10-09 10:45:10 +09:00
지도에는 전체 개수가 표시되고, 필터 버튼이 있는 곳에 필터링 된 개수가 표시되도록 수정
This commit is contained in:
@@ -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
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user