Improved the style of select elements (now also works on WebKit browsers)
This commit is contained in:
parent
c74744d720
commit
79d148bfd0
5 changed files with 11 additions and 2 deletions
|
@ -79,7 +79,15 @@ input[type="text"], input[type="password"], input[type="number"], select {
|
|||
}
|
||||
|
||||
select {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
height: 2.5rem;
|
||||
background-image: url("/static/material-icons/arrow-drop-down.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right;
|
||||
background-size: 1.5rem;
|
||||
padding-right: 1.8rem;
|
||||
}
|
||||
|
||||
table {
|
||||
|
|
1
app/static/material-icons/arrow-drop-down.svg
Normal file
1
app/static/material-icons/arrow-drop-down.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" fill="#fff" height="48" viewBox="0 96 960 960" width="48"><path d="M480 696 280 497h400L480 696Z"/></svg>
|
After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 240 B |
Loading…
Add table
Add a link
Reference in a new issue