Slight refinement on the language filter dropdown

pull/9/head
Brogan Clements 2022-04-01 11:58:14 -04:00
parent 191a70fdb8
commit 138ce32cad
2 changed files with 5 additions and 5 deletions

View File

@ -306,9 +306,9 @@ footer {
} }
.filterHeader button { .filterHeader button {
margin-left: 2em; margin-left: 1em;
max-width: 2em; width: 1.5em;
max-height: 2em; height: 1.7em;
} }
.langFilters { .langFilters {

View File

@ -70,8 +70,8 @@ function LangFilters({ changeParameter, data }) {
return ( return (
<div className="langFilters"> <div className="langFilters">
<div className="filterHeader"> <div className="filterHeader">
<h3>Select Language</h3> <h3>Filter by Language</h3>
<button onClick={() => setShow(!showFilters)}>+</button> <button onClick={() => setShow(!showFilters)}>{showFilters? "-" : "+"}</button>
</div> </div>
{showFilters ? filterList : ""} {showFilters ? filterList : ""}
</div> </div>