fix language picker dropdown arrow
This commit is contained in:
parent
5b6833060e
commit
061a820ce5
3 changed files with 39 additions and 17 deletions
|
@ -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.
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue