Skip to content

Commit 6815e51

Browse files
committed
fix color of select arrow
1 parent 85d165d commit 6815e51

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

src/components/allowed-users/components/TierEditor/TierEditor.tsx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ const PreviewTextWrapper = styled.div`
3131
color: var(--text-main-color);
3232
}
3333
`;
34-
34+
const SelectWrapper = styled.div`
35+
.ant-select-arrow {
36+
color: var(--text-main-color);
37+
}
38+
`
3539
export const TierEditor: React.FC<TierEditorProps> = ({
3640
tier,
3741
onTierChange,
@@ -163,11 +167,13 @@ export const TierEditor: React.FC<TierEditorProps> = ({
163167
min={TIER_VALIDATION.MIN_VALUE}
164168
style={{ flex: 1 }}
165169
/>
166-
<Select value={displayFormat.unit} onChange={handleUnitChange} disabled={disabled} style={{ width: 80 }}>
167-
<Option value="MB">MB</Option>
168-
<Option value="GB">GB</Option>
169-
<Option value="TB">TB</Option>
170-
</Select>
170+
<SelectWrapper>
171+
<Select value={displayFormat.unit} onChange={handleUnitChange} disabled={disabled} style={{ width: 80 }}>
172+
<Option value="MB">MB</Option>
173+
<Option value="GB">GB</Option>
174+
<Option value="TB">TB</Option>
175+
</Select>
176+
</SelectWrapper>
171177
</Space.Compact>
172178
)}
173179

0 commit comments

Comments
 (0)