fix language picker dropdown arrow

This commit is contained in:
Mary Kate 2020-09-28 00:57:31 -05:00
parent 5b6833060e
commit 061a820ce5
3 changed files with 39 additions and 17 deletions

View file

@ -55,23 +55,27 @@ exports[`<RadioGroup /> renders correctly 1`] = `
`;
exports[`<SelectDropdown /> renders correctly 1`] = `
<select>
<option
value="one"
>
One
</option>
<option
value="two"
>
Two
</option>
<option
value="three"
>
Three
</option>
</select>
<div
class="select-wrapper"
>
<select>
<option
value="one"
>
One
</option>
<option
value="two"
>
Two
</option>
<option
value="three"
>
Three
</option>
</select>
</div>
`;
exports[`<SimpleForm /> renders correctly 1`] = `

Binary file not shown.

View file

@ -429,6 +429,7 @@ code {
}
select {
appearance: none;
box-sizing: border-box;
font-size: 16px;
color: var(--primary-text-color);
@ -444,6 +445,23 @@ code {
padding-right: 30px;
height: 41px;
position: relative;
margin-top: 8px;
cursor: pointer;
}
.select-wrapper::after {
display: block;
font-family: 'ForkAwesome';
content: '';
width: 10px;
position: absolute;
right: 12px;
top: 1px;
border-left: 1px solid var(--highlight-text-color);
height: 39px;
padding: 12px;
box-sizing: border-box;
pointer-events: none;
}
.label_input {