mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Dont show bullet if hiding URLs
This commit is contained in:
parent
7a4016ed0c
commit
be94f50ee5
1 changed files with 4 additions and 1 deletions
|
|
@ -19,7 +19,10 @@ export function ArticleSubtitle(props: ArticleSubtitleProps): JSX.Element {
|
|||
return (
|
||||
<Box>
|
||||
<StyledText style={textStyle} css={{ wordBreak: 'break-word' }}>
|
||||
{subtitle} {subtitle && <span style={{ bottom: 1 }}>• </span>}{' '}
|
||||
{subtitle}{' '}
|
||||
{subtitle && !shouldHideUrl(props.href) && (
|
||||
<span style={{ bottom: 1 }}>• </span>
|
||||
)}{' '}
|
||||
{!props.hideButton && !shouldHideUrl(props.href) && (
|
||||
<>
|
||||
<StyledLink
|
||||
|
|
|
|||
Loading…
Reference in a new issue