Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
fix: add empty space between amounts
Browse files Browse the repository at this point in the history
  • Loading branch information
shoom3301 committed Aug 31, 2023
1 parent 49baa10 commit 0c4f9b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ const HelperSpan = styled.span`
cursor: pointer;
transition: color 0.1s;
display: flex;
padding: 0 0.6rem 0 0;
padding: 0 0.6rem;
.default-icon-tooltip {
color: ${({ theme }): string => theme.grey};
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/SurplusComponent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const SurplusComponent: React.FC<SurplusComponentProps> = (props) => {
return (
<Wrapper className={className}>
{icon && <IconWrapper icon={icon} color={iconColor} />}
<Percentage>{showPercentage ? formatPercentage(percentage) : amountDisplay}</Percentage>
<Percentage>{showPercentage ? formatPercentage(percentage) : amountDisplay}</Percentage> &nbsp;
{showPercentage && amountDisplay}
</Wrapper>
)
Expand Down
3 changes: 1 addition & 2 deletions src/components/orders/OrderPriceDisplay/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ export function OrderPriceDisplay(props: Props): JSX.Element {
return (
<Wrapper>
<span>
<span>{formattedPrice}</span>
<span>{quoteSymbol}</span>
<span>{formattedPrice}</span> &nbsp;<span>{quoteSymbol}</span>
</span>
<span>
for {baseSymbol}
Expand Down

0 comments on commit 0c4f9b1

Please sign in to comment.