use minWidth

This commit is contained in:
Hristo Nedelkov 2023-10-13 12:53:59 +03:00
parent 141a3a96f9
commit 285a720ada
2 changed files with 3 additions and 1 deletions

View File

@ -14,8 +14,10 @@ const RightSidebar = () => {
<YStack
space={'$4'}
minHeight={'100vh'}
minWidth={'12vw'}
background={'#FFF'}
style={{ padding: '8px', border: '1px solid #F0F2F5' }}
position="fixed-end"
>
<XStack alignItems="center">
<Avatar type="user" size={32} name="Etherium Mainnet" />

View File

@ -38,7 +38,7 @@ const StorageCard = ({ storage, maxStorage }: StorageCardProps) => {
<DashboardCardWrapper padding="0" width="48%">
<YStack
style={{
width: '100%',
minWidth: '260px',
minHeight: '156px',
borderRadius: '16px',
border: message === 'Poor' ? '1px solid #D92344' : 'none',