Skip to content

Commit

Permalink
Add an arrow icon to select elements at least when using the dark theme
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Boberg <[email protected]>
  • Loading branch information
axelboberg committed Feb 14, 2024
1 parent d1b1e5e commit 47bdcb0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions app/assets/icons/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.
4 changes: 2 additions & 2 deletions app/bridge.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ select {
select {
color: inherit;
border: 1px solid var(--base-color--shade);
background: none;
background: url('./assets/icons/arrow-down.svg') no-repeat right 10px center transparent;

-webkit-appearance: none;
appearance: none;
Expand All @@ -138,7 +138,7 @@ select {
}

select:focus {
background: var(--base-color--background);
background: url('./assets/icons/arrow-down.svg') no-repeat right 10px center var(--base-color--background);
}

/* Headings */
Expand Down
2 changes: 1 addition & 1 deletion webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ module.exports = [
]
},
{
test: /\.(gif|png|jp(e*)g|woff|woff2)$/,
test: /\.(svg|gif|png|jp(e*)g|woff|woff2)$/,
type: 'asset/resource'
}
]
Expand Down

0 comments on commit 47bdcb0

Please sign in to comment.