Skip to content
This repository was archived by the owner on Jul 15, 2025. It is now read-only.

Commit 7900b4b

Browse files
authored
Merge pull request #106 from deriv-com/fix--position-icon-on-dark-theme
fix: position icon and filter dropdown padding
2 parents 0f2681f + b328ae8 commit 7900b4b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/PositionComponents/PositionEmptyState.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface PositionEmptyStateProps {
88
}
99

1010
export const PositionEmptyState: React.FC<PositionEmptyStateProps> = ({
11-
icon = <StandaloneBriefcaseFillIcon fill="#0000003D" iconSize="2xl" />,
11+
icon = <StandaloneBriefcaseFillIcon fill="#D1D5DB" iconSize="2xl" />,
1212
positionType,
1313
className = "flex items-center justify-center",
1414
}) => {

src/components/Sidebar/positions/components/FilterDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const FilterDropdown: FC<FilterDropdownProps> = ({
4141
onMouseDown={(event) => event.stopPropagation()}
4242
>
4343
<button
44-
className="text-sm h-9 w-full p-2 bg-theme border border-theme rounded-full text-theme-muted flex items-center justify-between"
44+
className="text-sm h-9 w-full pl-4 pr-2 bg-theme border border-theme rounded-full text-theme-muted flex items-center justify-between"
4545
onClick={() => setDropdownOpen(!dropdownOpen)}
4646
>
4747
<span>{selectedFilter}</span>

0 commit comments

Comments
 (0)