-
Notifications
You must be signed in to change notification settings - Fork 502
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(charts): fixing responsivity for chart on homepage
- Loading branch information
1 parent
04b56f3
commit cc94967
Showing
10 changed files
with
82 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 15 additions & 1 deletion
16
...t-v4-frontend/src/scenes/Home/PriceChart/CoinCurrentPrice/CoinTicker/template.loading.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
import React from 'react' | ||
import styled from 'styled-components' | ||
|
||
import { SkeletonRectangle } from 'blockchain-info-components' | ||
import { media } from 'services/styles' | ||
|
||
const Loading = () => <SkeletonRectangle width='100px' height='44px' /> | ||
const Wrapper = styled.div` | ||
margin-top: 8px; | ||
margin-left: 0; | ||
${media.atLeastTabletL` | ||
margin-left: 24px; | ||
`} | ||
` | ||
const Loading = () => ( | ||
<Wrapper> | ||
<SkeletonRectangle width='100px' height='29px' /> | ||
</Wrapper> | ||
) | ||
|
||
export default Loading |
21 changes: 13 additions & 8 deletions
21
...t-v4-frontend/src/scenes/Home/PriceChart/CoinCurrentPrice/CoinTicker/template.success.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 1 addition & 13 deletions
14
packages/blockchain-wallet-v4-frontend/src/scenes/Home/PriceChart/CoinCurrentPrice/index.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters