Skip to content

Commit

Permalink
change news feed size and adding external icon
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Sep 10, 2020
1 parent bb24eab commit aa3a717
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ function NewsItem({ item }: { item: INewsItem }) {
</EuiText>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiLink href={item.link_url.en} target="_blank">
<EuiText size="xs">
<EuiText size="xs">
<EuiLink href={item.link_url.en} target="_blank" external>
{i18n.translate('xpack.observability.news.readFullStory', {
defaultMessage: 'Read full story',
})}
</EuiText>
</EuiLink>
</EuiLink>
</EuiText>
</EuiFlexItem>
</EuiFlexGroup>
</EuiFlexItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export function OverviewPage({ routeParams }: Props) {

{!!newsFeed?.items?.length && (
<EuiFlexItem grow={false}>
<NewsFeed items={newsFeed.items.slice(0, 3)} />
<NewsFeed items={newsFeed.items.slice(0, 5)} />
</EuiFlexItem>
)}
</EuiFlexGroup>
Expand Down

0 comments on commit aa3a717

Please sign in to comment.