Skip to content

Commit cbf6db6

Browse files
committed
Change the alignment of the tooltip to right
1 parent 7eb854a commit cbf6db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/components/inputs/tooltip/tooltip.component.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface TooltipProps {
1212
const Tooltip: React.FC<TooltipProps> = ({ field }) => {
1313
const { t } = useTranslation();
1414
return (
15-
<CarbonTooltip align="top" label={t(field.questionInfo)} description={t(field.questionInfo)}>
15+
<CarbonTooltip align="right" label={t(field.questionInfo)} description={t(field.questionInfo)}>
1616
<button className={styles.tooltip} type="button" data-testid={field.id}>
1717
<Information />
1818
</button>

0 commit comments

Comments
 (0)