Skip to content

Commit a6ee94a

Browse files
author
Kristiyan Ivanov
authored
RI-7346 - Tab titles in the Insight panel are small (#4869)
1 parent cf2926a commit a6ee94a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

redisinsight/ui/src/components/base/external-link/ExternalLink.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ const ExternalLink = (props: Props) => {
1818
)
1919

2020
return (
21-
<Link {...rest} target="_blank">
21+
<Link
22+
{...rest}
23+
target="_blank"
24+
rel="noopener noreferrer"
25+
>
2226
{iconPosition === 'left' && <ArrowIcon />}
2327
{children}
2428
{iconPosition === 'right' && <ArrowIcon />}

redisinsight/ui/src/utils/formatters/markdown/remarkLink.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const remarkLink = (): ((tree: Node) => void) => (tree: any) => {
1010
// External link
1111
const [text] = node.children || []
1212
node.type = 'html'
13-
node.value = `<ExternalLink href="${node.url}" rel="nofollow noopener noreferrer">${text?.value || EXTERNAL_LINKS.redisIo}</ExternalLink>`
13+
node.value = `<ExternalLink href="${node.url}" rel="nofollow noopener noreferrer" variant="small-inline" iconSize="S">${text?.value || EXTERNAL_LINKS.redisIo}</ExternalLink>`
1414
}
1515

1616
if (node.title === 'Redis Cloud') {

0 commit comments

Comments
 (0)