Skip to content

Commit cf2926a

Browse files
author
Kristiyan Ivanov
authored
RI-7345 - Links in tutorials look big (#4865)
1 parent 685b437 commit cf2926a

File tree

4 files changed

+6
-27
lines changed

4 files changed

+6
-27
lines changed

redisinsight/ui/src/components/recommendation/content-element/ContentElement.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ const ContentElement = (props: Props) => {
8080
key={`${telemetryName}-${idx}`}
8181
data-testid={`link-${telemetryName}-${idx}`}
8282
target="_blank"
83+
variant="small-inline"
8384
href={getUtmExternalLink(value.href, {
8485
medium: UTM_MEDIUMS.Recommendation,
8586
campaign: telemetryName,
@@ -97,6 +98,7 @@ const ContentElement = (props: Props) => {
9798
key={`${telemetryName}-${idx}`}
9899
data-testid={`link-sso-${telemetryName}-${idx}`}
99100
target="_blank"
101+
variant="small-inline"
100102
onClick={(e) => {
101103
ssoCloudHandlerClick?.(e, {
102104
source: telemetryName as OAuthSocialSource,
@@ -121,6 +123,7 @@ const ContentElement = (props: Props) => {
121123
key={`${telemetryName}-${idx}`}
122124
data-testid={`code-link-${telemetryName}-${idx}`}
123125
target="_blank"
126+
variant="small-inline"
124127
href={getUtmExternalLink(value.href, {
125128
medium: UTM_MEDIUMS.Recommendation,
126129
campaign: telemetryName,

redisinsight/ui/src/components/side-panels/panels/ai-assistant/components/chats-wrapper/ChatsWrapper.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import AssistanceChat from '../assistance-chat'
1515
import ExpertChat from '../expert-chat'
1616

1717
import styles from './styles.module.scss'
18+
import sidePanelStyles from 'uiSrc/components/side-panels/styles.module.scss'
1819

1920
interface ChatWithTabs {
2021
feature: Maybe<FeatureFlagComponent>
@@ -89,7 +90,7 @@ const ChatsWrapper = () => {
8990
{chats.length > 1 && (
9091
<Tabs
9192
tabs={tabs}
92-
className={styles.tabs}
93+
className={sidePanelStyles.tabs}
9394
value={activeTab}
9495
onChange={selectTab}
9596
data-testid="ai-tabs"

redisinsight/ui/src/components/side-panels/panels/live-time-recommendations/LiveTimeRecommendations.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const LiveTimeRecommendations = () => {
194194
className={styles.githubIcon}
195195
aria-label="redis insight github repository"
196196
type="GithubIcon"
197-
size="s"
197+
size="m"
198198
data-testid="github-repo-icon"
199199
/>
200200
</a>

redisinsight/ui/src/components/side-panels/styles.module.scss

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -119,31 +119,6 @@ $animation-duration: 300ms;
119119
border-bottom: 1px solid var(--separatorColor);
120120
align-items: center;
121121
padding: 0 12px;
122-
123-
.tab {
124-
margin-bottom: -1px;
125-
126-
:global {
127-
.euiTab__content {
128-
display: flex;
129-
align-items: center;
130-
justify-content: center;
131-
}
132-
}
133-
134-
.tabTotalUnread {
135-
display: inline-block;
136-
background-color: var(--euiTextSubduedColor);
137-
color: var(--euiColorLightestShade);
138-
height: 18px;
139-
width: 18px;
140-
font-size: 10px;
141-
line-height: 17px;
142-
font-weight: 500;
143-
margin-left: 4px;
144-
border-radius: 100%;
145-
}
146-
}
147122
}
148123

149124
.assistantHeader {

0 commit comments

Comments
 (0)