Skip to content

Commit 1ce7532

Browse files
HaroenvCompuIves
authored andcommitted
Update Select.js (codesandbox#461)
* Update Select.js fix how it looks in Safari by using non-browser appearance (now consistent in all browsers) * Update .all-contributorsrc add myself * Update Select.js * Update Select.js
1 parent b28bbde commit 1ce7532

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.all-contributorsrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,16 @@
284284
"code",
285285
"ideas"
286286
]
287+
},
288+
{
289+
"login": "haroenv",
290+
"name": "Haroen Viaene",
291+
"avatar_url": "https://avatars3.githubusercontent.com/u/6270048?v=4",
292+
"profile": "https://twitter.com/haroenv",
293+
"contributions": [
294+
"code",
295+
"design"
296+
]
287297
}
288298
]
289299
}

packages/app/src/app/components/Select.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@ import styled from 'styled-components';
22

33
export default styled.select`
44
transition: 0.3s ease border-color;
5-
background-color: rgba(0, 0, 0, 0.3);
5+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciICB2aWV3Qm94PSIwIDAgNC45NSAxMCI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik0xLjQxIDQuNjdsMS4wNy0xLjQ5IDEuMDYgMS40OUgxLjQxek0zLjU0IDUuMzNMMi40OCA2LjgyIDEuNDEgNS4zM2gyLjEzeiI+PC9wYXRoPjwvc3ZnPg==) no-repeat 90% 40%; background-color: rgba(0, 0, 0, 0.3);
6+
color: white;
67
border: none;
78
outline: none;
89
border-radius: 4px;
9-
color: white;
10+
padding: .2em 1em .2em .2em;
1011
width: inherit;
1112
box-sizing: border-box;
1213
font-weight: 300;
1314
height: 1.75em;
15+
appearance: none;
1416
1517
border: 1px solid
1618
${props =>

0 commit comments

Comments
 (0)