adjusted selectbox styles
This commit is contained in:
parent
77e3b5a3e6
commit
fb91fd03cc
3 changed files with 26 additions and 13 deletions
|
@ -5,7 +5,7 @@ module.exports = function(selected, options, translate, changed) {
|
|||
let x = selected;
|
||||
|
||||
return html`
|
||||
<span class="select">
|
||||
<div class="select">
|
||||
<select id="${id}" onchange=${choose}>
|
||||
${options.map(
|
||||
i =>
|
||||
|
@ -14,11 +14,7 @@ module.exports = function(selected, options, translate, changed) {
|
|||
}>${translate(i)}</option>`
|
||||
)}
|
||||
</select>
|
||||
|
||||
<svg id="arrow" width="32" height="32">
|
||||
<polygon points="8 18 17 28 26 18" fill="#0094fb"/>
|
||||
</svg>
|
||||
</span>`;
|
||||
</div>`;
|
||||
|
||||
function choose(event) {
|
||||
const target = event.target;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue