use minWidth
This commit is contained in:
parent
141a3a96f9
commit
285a720ada
|
@ -14,8 +14,10 @@ const RightSidebar = () => {
|
||||||
<YStack
|
<YStack
|
||||||
space={'$4'}
|
space={'$4'}
|
||||||
minHeight={'100vh'}
|
minHeight={'100vh'}
|
||||||
|
minWidth={'12vw'}
|
||||||
background={'#FFF'}
|
background={'#FFF'}
|
||||||
style={{ padding: '8px', border: '1px solid #F0F2F5' }}
|
style={{ padding: '8px', border: '1px solid #F0F2F5' }}
|
||||||
|
position="fixed-end"
|
||||||
>
|
>
|
||||||
<XStack alignItems="center">
|
<XStack alignItems="center">
|
||||||
<Avatar type="user" size={32} name="Etherium Mainnet" />
|
<Avatar type="user" size={32} name="Etherium Mainnet" />
|
||||||
|
|
|
@ -38,7 +38,7 @@ const StorageCard = ({ storage, maxStorage }: StorageCardProps) => {
|
||||||
<DashboardCardWrapper padding="0" width="48%">
|
<DashboardCardWrapper padding="0" width="48%">
|
||||||
<YStack
|
<YStack
|
||||||
style={{
|
style={{
|
||||||
width: '100%',
|
minWidth: '260px',
|
||||||
minHeight: '156px',
|
minHeight: '156px',
|
||||||
borderRadius: '16px',
|
borderRadius: '16px',
|
||||||
border: message === 'Poor' ? '1px solid #D92344' : 'none',
|
border: message === 'Poor' ? '1px solid #D92344' : 'none',
|
||||||
|
|
Loading…
Reference in New Issue