Skip to content

Commit 96f4422

Browse files
authored
Merge pull request #923 from AppQuality/fix-tooltips
fixed dimensions of tooltips
2 parents c3b2803 + 694d606 commit 96f4422

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

src/pages/Insights/Collection/components/GroupByToggle.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ export const GroupByToggle = () => {
2424

2525
return (
2626
<Wrapper>
27-
<Tooltip content={t('__INSIGHTS_PAGE_COLLECTION_GROUP_BY_USECASE')}>
27+
<Tooltip
28+
size="small"
29+
type="light"
30+
content={t('__INSIGHTS_PAGE_COLLECTION_GROUP_BY_USECASE')}
31+
>
2832
<IconButton
2933
onClick={() => setGroupObservationsBy('usecase-grapes')}
3034
isPrimary={groupObservationsBy === 'usecase-grapes'}
@@ -36,7 +40,11 @@ export const GroupByToggle = () => {
3640
)}
3741
</IconButton>
3842
</Tooltip>
39-
<Tooltip content={t('__INSIGHTS_PAGE_COLLECTION_UNGROUP')}>
43+
<Tooltip
44+
size="small"
45+
type="light"
46+
content={t('__INSIGHTS_PAGE_COLLECTION_UNGROUP')}
47+
>
4048
<IconButton
4149
onClick={() => setGroupObservationsBy(undefined)}
4250
isPrimary={typeof groupObservationsBy === 'undefined'}

src/pages/Insights/InsightsDrawer/components/AccordionLabel.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ export const AccordionLabel = ({ title, id, isPublished }: Props) => {
6565
<Style>
6666
<LG isBold>{title}</LG>
6767
<Tooltip
68+
size="small"
69+
type="light"
6870
content={
6971
isPublished
7072
? 'Click to unpublish this insight'

src/pages/Insights/PageHeader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const InsightsPageHeader = () => {
9191
<Link to={campaignRoute}>
9292
<Tooltip
9393
content={t('__UX_CAMPAIGN_PAGE_NAVIGATION_DASHBOARD_TOOLTIP')}
94-
size="medium"
94+
size="small"
9595
type="light"
9696
placement="top"
9797
>
@@ -106,7 +106,7 @@ const InsightsPageHeader = () => {
106106
content={t(
107107
'__UX_CAMPAIGN_PAGE_NAVIGATION_VIDEO_LIST_TOOLTIP'
108108
)}
109-
size="medium"
109+
size="small"
110110
type="light"
111111
placement="top"
112112
>

0 commit comments

Comments
 (0)