Commit f50e0ca9 authored by Jack Short's avatar Jack Short Committed by GitHub

style: updating profile skeleton (#5293)

style: updating proflie skeleton
parent 84960b0c
import { assetList } from 'nft/components/collection/CollectionNfts.css' import { assetList } from 'nft/components/collection/CollectionNfts.css'
import { ScreenBreakpointsPaddings } from 'nft/pages/collection/index.css'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { DEFAULT_WALLET_ASSET_QUERY_AMOUNT } from './ProfilePage' import { DEFAULT_WALLET_ASSET_QUERY_AMOUNT } from './ProfilePage'
const SkeletonPageWrapper = styled.div` const SkeletonPageWrapper = styled.div`
padding: 40px 72px 52px; ${ScreenBreakpointsPaddings};
padding-top: 40px;
width: 100%; width: 100%;
@media only screen and (max-width: ${({ theme }) => `${theme.breakpoint.sm}px`}) {
padding-top: 16px;
}
` `
const SkeletonBodyWrapper = styled.div` const SkeletonBodyWrapper = styled.div`
...@@ -26,13 +32,6 @@ const AccountDetailsSkeletonWrapper = styled(SkeletonRowWrapper)` ...@@ -26,13 +32,6 @@ const AccountDetailsSkeletonWrapper = styled(SkeletonRowWrapper)`
margin-bottom: 30px; margin-bottom: 30px;
` `
const ProfilePictureSkeleton = styled.div`
height: 44px;
width: 44px;
background: ${({ theme }) => theme.backgroundModule};
border-radius: 100px;
`
const ProfileDetailsSkeleton = styled.div` const ProfileDetailsSkeleton = styled.div`
width: 180px; width: 180px;
height: 36px; height: 36px;
...@@ -69,7 +68,6 @@ export const ProfileBodyLoadingSkeleton = () => { ...@@ -69,7 +68,6 @@ export const ProfileBodyLoadingSkeleton = () => {
return ( return (
<SkeletonBodyWrapper> <SkeletonBodyWrapper>
<AccountDetailsSkeletonWrapper> <AccountDetailsSkeletonWrapper>
<ProfilePictureSkeleton />
<ProfileDetailsSkeleton /> <ProfileDetailsSkeleton />
</AccountDetailsSkeletonWrapper> </AccountDetailsSkeletonWrapper>
<FilterBarSkeletonWrapper> <FilterBarSkeletonWrapper>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment