Skip to content

Commit 0f44610

Browse files
kazup01Davy-c
authored andcommitted
Fix smart view selection button UI
1 parent 6a5b452 commit 0f44610

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/cloud/components/DashboardPage/AddSmartViewModal.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,14 @@ const AddSmartViewModal = ({
7070
onClick={() => setSelectedViewType(viewType)}
7171
>
7272
<Flexbox justifyContent='center'>
73+
<div className='smartview__header'>
7374
{icon != null && (
74-
<Icon path={icon} className='smartview__icon' />
75+
<Icon path={icon} size={26} className='smartview__icon' />
7576
)}
7677
<strong className='smartview__name'>
7778
{capitalize(viewType)}
7879
</strong>
80+
</div>
7981
</Flexbox>
8082
<p className='smartview__description'>{desc}</p>
8183
</Button>
@@ -88,6 +90,10 @@ const AddSmartViewModal = ({
8890
}
8991

9092
const ViewTypeSelectorContainer = styled.div`
93+
.smartview__header {
94+
margin-top: ${({ theme }) => theme.sizes.spaces.df}px;
95+
display: flex;
96+
}
9197
.smartview__icon {
9298
margin-right: ${({ theme }) => theme.sizes.spaces.sm}px;
9399
}

0 commit comments

Comments
 (0)