Client - minor style changes

This commit is contained in:
Sam 2019-09-08 16:53:23 +02:00
parent 97934f8ffe
commit 6f7f69a807
2 changed files with 13 additions and 3 deletions

View File

@ -267,15 +267,21 @@ label {
}
.dropdown-list {
background-color: #fff;
background-color: #f8f9fa;
padding: 5px 0;
position: absolute;
text-align: left;
z-index: 10;
}
.dropdown-item {
cursor: default;
font-size: 0.9em;
font-weight: bold;
}
.dropdown-item-selected {
font-weight: bold;
}
.fa-question-circle {

View File

@ -52,7 +52,11 @@ class Dropdown extends Component {
)
.map(language => (
<li
className="dropdown-item"
className={`dropdown-item${
language.name === selected && isOpen
? ' dropdown-item-selected'
: ''
}`}
key={language.name}
onClick={() => this.selectLanguage(language.name)}
>