Skip to content

Commit

Permalink
Fix tooltip alignment for buttons in list component (#5217)
Browse files Browse the repository at this point in the history
  • Loading branch information
romainseb authored Mar 4, 2024
1 parent 731021d commit 2d7861a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fuzzy-nails-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@talend/react-components": patch
---

fix: tooltip alignement for buttons in list component
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
/* eslint-disable react/display-name */
import { memo } from 'react';

import PropTypes from 'prop-types';

import { ButtonIconToggle, StackHorizontal } from '@talend/design-system';

import getDefaultT from '../../../translate';
import { DISPLAY_MODE } from '../../ListComposition/constants';

Expand All @@ -24,6 +27,7 @@ export const DisplayModeActionIcon = memo(
<ButtonIconToggle
key={displayMode}
id={`${id}-${displayMode}`}
tooltipPlacement="top-end"
icon={icon}
isActive={displayMode === displayModeOption}
size="S"
Expand Down

0 comments on commit 2d7861a

Please sign in to comment.