Skip to content

Commit

Permalink
fix: [GSW-2033] UI
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrg committed Jan 4, 2025
1 parent 4d4a4dc commit 9f2c80b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const TokenAmountInputWrapper = styled.div`
color: #007aff;
cursor: pointer;
&:hover {
background: rgba(0, 89, 255, 0.1);
background: ${({ theme }) => (theme.themeKey === "dark" ? "rgba(0, 89, 255, 0.1)" : "rgba(0, 89, 255, 0.3)")};
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const LaunchpadParticipateWrapper = styled.div`
color: #007aff;
cursor: pointer;
&:hover {
background: rgba(0, 89, 255, 0.1);
background: ${({ theme }) => (theme.themeKey === "dark" ? "rgba(0, 89, 255, 0.1)" : "rgba(0, 89, 255, 0.3)")};
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const ContentWrapper = styled.div`
color: #007aff;
cursor: pointer;
&:hover {
background: rgba(0, 89, 255, 0.1);
background: ${({ theme }) => (theme.themeKey === "dark" ? "rgba(0, 89, 255, 0.1)" : "rgba(0, 89, 255, 0.3)")};
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const SwapInfoTransactionListTable = ({ breakpoint }: SwapInfoTransactionListTab

<TransactionListTableList>
{[...Array(5)].map((_, index) => (
<TransactionListTableRow key={index} breakpoint={breakpoint} />
<TransactionListTableRow key={`transaction-list-table-list-${index}`} breakpoint={breakpoint} />
))}
</TransactionListTableList>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const wrapper = (theme: Theme) => css`
color: #007aff;
cursor: pointer;
&:hover {
background: rgba(0, 89, 255, 0.1);
background: ${theme.themeKey === "dark" ? "rgba(0, 89, 255, 0.1)" : "rgba(0, 89, 255, 0.3)"};
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export const AssetSendContent = styled.div`
color: #007aff;
cursor: pointer;
&:hover {
background: rgba(0, 89, 255, 0.1);
background: ${({ theme }) => (theme.themeKey === "dark" ? "rgba(0, 89, 255, 0.1)" : "rgba(0, 89, 255, 0.3)")};
}
}
}
Expand Down

0 comments on commit 9f2c80b

Please sign in to comment.