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 {
margin-left: 2em;
max-width: 2em;
max-height: 2em;
margin-left: 1em;
width: 1.5em;
height: 1.7em;
}
.langFilters {

View File

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