mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Dont reserve label space if there are no labels
This commit is contained in:
parent
113101fd63
commit
aa9797f4d4
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ export function ArticleContainer(props: ArticleContainerProps): JSX.Element {
|
|||
href={props.article.url}
|
||||
/>
|
||||
{props.labels ? (
|
||||
<SpanBox css={{ py: '16px', width: '100%' }}>
|
||||
<SpanBox css={{ pb: '16px', width: '100%', '&:empty': { display: 'none' } }}>
|
||||
{props.labels?.map((label) =>
|
||||
<LabelChip key={label.id} text={label.name} color={label.color} />
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue