Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Commit f146ff9

Browse files
author
Thimy Kieu
committed
fix: select arrow glitch on webkit
1 parent bc52707 commit f146ff9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/css/elements/input.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ input[type="checkbox"]:checked::before {
100100
select {
101101
appearance: none;
102102
background: var(--theme-background-white) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"><path d="M1.254 2.518a.904.904 0 0 1 0-1.257.85.85 0 0 1 1.225 0l4.512 4.632 4.511-4.632a.85.85 0 0 1 1.225 0 .904.904 0 0 1 0 1.257L7.621 7.761a.848.848 0 0 1-.63.259.849.849 0 0 1-.631-.259L1.254 2.518z" fill="gray"/></svg>') no-repeat;
103-
background-position: top 1em right 1em;
104-
background-size: 15px;
105-
padding-right: 45px;
103+
background-position: top 1em right 0;
104+
background-size: 1.7em;
105+
padding-right: 2.8em;
106106
border-radius: var(--theme-border-radius);
107107
width: auto;
108108
}

0 commit comments

Comments
 (0)