Skip to content

Commit

Permalink
🪟 🐛 hide connection status messages box when no messages present (#12…
Browse files Browse the repository at this point in the history
…485)
  • Loading branch information
chandlerprall committed May 16, 2024
1 parent 94fab7e commit 3cdd8a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@
border-bottom: none;
}
}

.collapseEmpty {
&:empty {
display: none;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const ConnectionStatusCard: React.FC = () => {
<ConnectionSyncButtons buttonText={<FormattedMessage id="connection.startSync" values={{ streamCount }} />} />
</FlexContainer>
</Box>
<Box p="lg">
<Box p="lg" className={styles.collapseEmpty}>
<ConnectionStatusMessages />
</Box>
{showHistoricalOverview && <HistoricalOverview />}
Expand Down

0 comments on commit 3cdd8a9

Please sign in to comment.