Commit ebe14f97 authored by tom's avatar tom

fixes

parent 50c71a0d
...@@ -23,8 +23,8 @@ const baseStyle: SystemStyleFunction = (props) => { ...@@ -23,8 +23,8 @@ const baseStyle: SystemStyleFunction = (props) => {
const end = getColor(theme, endColor); const end = getColor(theme, endColor);
return { return {
opacity: 0.7, opacity: 1,
borderRadius: '2px', borderRadius: 'base',
borderColor: start, borderColor: start,
background: end, background: end,
animation: `${ speed }s linear infinite alternate ${ fade(start, end) }`, animation: `${ speed }s linear infinite alternate ${ fade(start, end) }`,
......
...@@ -55,7 +55,7 @@ const ApiKeysPage: React.FC = () => { ...@@ -55,7 +55,7 @@ const ApiKeysPage: React.FC = () => {
<> <>
<Skeleton height={ 6 } width="250px" borderRadius="full" marginBottom={ 12 }/> <Skeleton height={ 6 } width="250px" borderRadius="full" marginBottom={ 12 }/>
<SkeletonTable columns={ [ '100%', '108px' ] }/> <SkeletonTable columns={ [ '100%', '108px' ] }/>
<Skeleton height="44px" width="156px" borderRadius="base" marginTop={ 8 }/> <Skeleton height="44px" width="156px" marginTop={ 8 }/>
</> </>
); );
} }
......
...@@ -45,7 +45,7 @@ const PrivateAddressTags = ({ addressTags }: Props) => { ...@@ -45,7 +45,7 @@ const PrivateAddressTags = ({ addressTags }: Props) => {
<> <>
<Skeleton height={ 6 } width="250px" borderRadius="full" marginBottom={ 12 }/> <Skeleton height={ 6 } width="250px" borderRadius="full" marginBottom={ 12 }/>
<SkeletonTable columns={ [ 'auto', '40%', '108px' ] }/> <SkeletonTable columns={ [ 'auto', '40%', '108px' ] }/>
<Skeleton height="44px" width="156px" borderRadius="base" marginTop={ 8 }/> <Skeleton height="44px" width="156px" marginTop={ 8 }/>
</> </>
); );
} }
......
...@@ -45,7 +45,7 @@ const PrivateTransactionTags = ({ transactionTags }: Props) => { ...@@ -45,7 +45,7 @@ const PrivateTransactionTags = ({ transactionTags }: Props) => {
<> <>
<Skeleton height={ 6 } width="250px" borderRadius="full" marginBottom={ 12 }/> <Skeleton height={ 6 } width="250px" borderRadius="full" marginBottom={ 12 }/>
<SkeletonTable columns={ [ 'auto', '25%', '108px' ] }/> <SkeletonTable columns={ [ 'auto', '25%', '108px' ] }/>
<Skeleton height="44px" width="156px" borderRadius="base" marginTop={ 8 }/> <Skeleton height="44px" width="156px" marginTop={ 8 }/>
</> </>
); );
} }
......
...@@ -8,7 +8,7 @@ interface Props { ...@@ -8,7 +8,7 @@ interface Props {
const SkeletonTable = ({ columns }: Props) => { const SkeletonTable = ({ columns }: Props) => {
return ( return (
<div> <div>
<Skeleton height={ 10 } width="100%" borderTopLeftRadius="base" borderTopRightRadius="base"/> <Skeleton height={ 10 } width="100%" borderBottomLeftRadius="none" borderBottomRightRadius="none"/>
{ Array.from(Array(4)).map((item, index) => ( { Array.from(Array(4)).map((item, index) => (
<HStack key={ index } spacing={ 6 } marginTop={ 8 }> <HStack key={ index } spacing={ 6 } marginTop={ 8 }>
{ columns.map((width, index) => ( { columns.map((width, index) => (
......
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