Skip to content

Commit

Permalink
load img from file instead of from a data tag
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorerlingsson committed Jan 17, 2025
1 parent 6fc4333 commit fb03806
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions static/img/arrow-down.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ input[type="text"], input[type="number"], input[type="password"] {
}

select.dropdown {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23f7f5f2' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-image: url(img/arrow-down.svg);
background-position: right .5rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
Expand Down

0 comments on commit fb03806

Please sign in to comment.