Skip to content

Commit bb1eebb

Browse files
HITISINHAsimsim0709
authored andcommitted
Flickering of Tooltip of Avatars from the Horizontal Avatar List on Dashboard has been fixed with minimal modular independent changes. (#30)
1 parent 4d0e076 commit bb1eebb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/components/HorizontalAvatarList.js

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ const HorizontalAvatarList = ({
3030
zIndex: index,
3131
border: '3px solid #fff',
3232
marginLeft: !isFirstItem && -20,
33+
marginBottom: '20px',
34+
marginTop:'20px'
3335
}}
3436
/>
3537

src/pages/DashboardPage.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -348,14 +348,14 @@ class DashboardPage extends React.Component {
348348
</Row>
349349

350350
<CardDeck style={{ marginBottom: '1rem' }}>
351-
<Card body style={{ overflowX: 'auto' }}>
351+
<Card body style={{ overflowX: 'auto','paddingBottom':'15px','height': 'fit-content','paddingTop': 'inherit'}}>
352352
<HorizontalAvatarList
353353
avatars={avatarsData}
354354
avatarProps={{ size: 50 }}
355355
/>
356356
</Card>
357357

358-
<Card body style={{ overflowX: 'auto' }}>
358+
<Card body style={{ overflowX: 'auto','paddingBottom':'15px','height': 'fit-content','paddingTop': 'inherit'}}>
359359
<HorizontalAvatarList
360360
avatars={avatarsData}
361361
avatarProps={{ size: 50 }}

0 commit comments

Comments
 (0)