Improved the style of select elements (now also works on WebKit browsers)

This commit is contained in:
Julian Müller (ChaoticByte) 2023-04-15 15:30:53 +02:00
parent c74744d720
commit 79d148bfd0
5 changed files with 11 additions and 2 deletions

View file

@ -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 {

View 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

View file

Before

Width:  |  Height:  |  Size: 240 B

After

Width:  |  Height:  |  Size: 240 B

Before After
Before After