Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

Commit

Permalink
finalize UI for create order
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenyboxer committed Jul 24, 2020
1 parent 62fc40b commit 83717ec
Show file tree
Hide file tree
Showing 13 changed files with 348 additions and 322 deletions.
4 changes: 2 additions & 2 deletions src/assets/images/reverse-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/Input/NumericInputWithCurrency.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const TradeInput: FC<NumericInputWithCurrencyProps> = ({

return (
<>
{label != null && <Label>{label}</Label>}
{label != null && <Label className="label">{label}</Label>}
<Container className={className}>
<CurrencyContainer className="currency-container">
<StyledCurrencyName currencyKey={currencyKey} showIcon={showIcon} />
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Trade/components/ChartCard/Chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const Chart: FC<ChartProps> = ({ synthPair: { quote }, data, isLoading, period,

const ChartContainer = styled.div`
width: 100%;
height: 250px;
height: 244px;
display: flex;
justify-content: center;
align-items: center;
Expand Down
8 changes: 6 additions & 2 deletions src/pages/Trade/components/ChartCard/ChartCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,15 @@ const ChartCard: FC<ChartCardProps> = ({ synthPair }) => {
</Periods>
</HeaderContainer>
</StyledCardHeader>
<Card.Body>
<StyledCardBody>
<Chart
data={chartData}
isLoading={isLoading}
period={selectedPeriod}
synthPair={synthPair}
/>
<InfoRow data={chartData} volume24H={volume24H} synthPair={synthPair} />
</Card.Body>
</StyledCardBody>
</Card>
);
};
Expand All @@ -121,6 +121,10 @@ const StyledCardHeader = styled(Card.Header)`
padding-left: 0;
`;

const StyledCardBody = styled(Card.Body)`
padding: 12px 12px 16px 12px;
`;

const HeaderContainer = styled.div`
width: 100%;
align-items: center;
Expand Down
Loading

0 comments on commit 83717ec

Please sign in to comment.