We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b47684f commit fbcd012Copy full SHA for fbcd012
browser/data-browser/src/components/forms/BasicSelect.tsx
@@ -26,10 +26,22 @@ const SelectWrapper = styled.span<{ disabled: boolean }>`
26
padding-inline: 0.2rem;
27
background-color: ${p =>
28
p.disabled ? p.theme.colors.bg1 : p.theme.colors.bg};
29
+
30
+ // Because we remove the appearance of the select for compatibility reasons, we have to add back the chevron.
31
+ position: relative;
32
+ &:after {
33
+ content: '▾';
34
+ position: absolute;
35
+ right: 0.5rem;
36
+ top: 0.5rem;
37
+ pointer-events: none;
38
+ color: ${p => p.theme.colors.textLight};
39
+ }
40
`;
41
42
const Select = styled.select`
43
cursor: pointer;
44
+ appearance: none;
45
width: 100%;
46
border: none;
47
outline: none;
0 commit comments