mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Fix double navigation links are present under security news section for each article (#124356)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
9cc0333826
commit
b1b522af90
1 changed files with 6 additions and 8 deletions
|
@ -32,9 +32,9 @@ export const Post = React.memo<{ newsItem: NewsItem }>(({ newsItem }) => {
|
|||
return (
|
||||
<EuiFlexGroup gutterSize="none" justifyContent="spaceBetween">
|
||||
<EuiFlexItem grow={false}>
|
||||
<NewsLink href={linkUrl}>
|
||||
<EuiText size="s">{title}</EuiText>
|
||||
</NewsLink>
|
||||
<EuiText size="s">
|
||||
<NewsLink href={linkUrl}>{title}</NewsLink>
|
||||
</EuiText>
|
||||
|
||||
<EuiText color="subdued" size="xs">
|
||||
<PreferenceFormattedP1DTDate value={publishOn} />
|
||||
|
@ -45,11 +45,9 @@ export const Post = React.memo<{ newsItem: NewsItem }>(({ newsItem }) => {
|
|||
</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem grow={false}>
|
||||
{imageUrl && (
|
||||
<NewsLink href={linkUrl}>
|
||||
<NewsItemPreviewImage alt={title} className="euiPanel" src={imageUrl} />
|
||||
</NewsLink>
|
||||
)}
|
||||
<div>
|
||||
{imageUrl && <NewsItemPreviewImage alt={title} className="euiPanel" src={imageUrl} />}
|
||||
</div>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue