1
0
mirror of https://github.com/kognise/water.css.git synced 2025-02-23 05:12:25 +01:00

Fixed bug where the arrow icon on select is not displayed

This commit is contained in:
Alexander Bluhm 2019-04-21 00:50:53 +02:00 committed by Jonas Kuske
parent 8a1150d3c2
commit c69ceda5e9

View File

@ -44,8 +44,7 @@ textarea {
}
select {
background: url("data:image/svg+xml;utf8,<svg fill='#{$form-text}' viewBox='0 0 140 140' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><g><path d='m121.3,34.6c-1.6-1.6-4.2-1.6-5.8,0l-51,51.1-51.1-51.1c-1.6-1.6-4.2-1.6-5.8,0-1.6,1.6-1.6,4.2 0,5.8l53.9,53.9c0.8,0.8 1.8,1.2 2.9,1.2 1,0 2.1-0.4 2.9-1.2l53.9-53.9c1.7-1.6 1.7-4.2 0.1-5.8z'/></g></svg>")
calc(100% - 12px) 50% / 12px no-repeat var(--background);
background: var(--background) url("data:image/svg+xml;utf8,<svg viewBox='0 0 140 140' fill='#{url-encoded-color($form-text)}' width='24' height='24' xmlns='http://www.w3.org/2000/svg'><g><path d='m121.3,34.6c-1.6-1.6-4.2-1.6-5.8,0l-51,51.1-51.1-51.1c-1.6-1.6-4.2-1.6-5.8,0-1.6,1.6-1.6,4.2 0,5.8l53.9,53.9c0.8,0.8 1.8,1.2 2.9,1.2 1,0 2.1-0.4 2.9-1.2l53.9-53.9c1.7-1.6 1.7-4.2 0.1-5.8z'/></g></svg>") calc(100% - 12px) 50% / 12px no-repeat;
padding-right: 35px;
}