diff options
author | Lucas <97296331+lucas-paulger-sonarsource@users.noreply.github.com> | 2024-11-27 11:27:50 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-11-27 20:02:57 +0000 |
commit | 06c1c1193c492979b84a985403ca67c3d70c4ce6 (patch) | |
tree | 8abd5c5e7c11d9a9f138dac07dfc2c87d92f6ac9 /server | |
parent | 6ade8ba4a7c848b4ded928f3a1feb0d823f5d3fb (diff) | |
download | sonarqube-06c1c1193c492979b84a985403ca67c3d70c4ce6.tar.gz sonarqube-06c1c1193c492979b84a985403ca67c3d70c4ce6.zip |
SONAR-23002 Fix ally issues on Quality Profile page (#12370)
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesList.tsx | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesList.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesList.tsx index 69c8598e7aa..7de96c3d247 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesList.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/ProfilesList.tsx @@ -18,11 +18,11 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +import { Button, ButtonVariety, IconQuestionMark, Tooltip } from '@sonarsource/echoes-react'; import { groupBy, pick, sortBy } from 'lodash'; import * as React from 'react'; import { useIntl } from 'react-intl'; -import { ContentCell, FlagMessage, HelperHintIcon, Table, TableRow } from '~design-system'; -import HelpTooltip from '~sonar-aligned/components/controls/HelpTooltip'; +import { ContentCell, FlagMessage, Table, TableRow } from '~design-system'; import { Language } from '../../../types/languages'; import { Dict } from '../../../types/types'; import { Profile } from '../types'; @@ -62,12 +62,15 @@ export default function ProfilesList(props: Readonly<Props>) { </ContentCell> <ContentCell> {intl.formatMessage({ id: 'quality_profiles.list.projects' })} - <HelpTooltip - className="sw-ml-1" - overlay={intl.formatMessage({ id: 'quality_profiles.list.projects.help' })} - > - <HelperHintIcon /> - </HelpTooltip> + <Tooltip content={intl.formatMessage({ id: 'quality_profiles.list.projects.help' })}> + <Button + className="sw-p-0 sw-h-fit sw-min-h-fit" + aria-label={intl.formatMessage({ id: 'help' })} + variety={ButtonVariety.DefaultGhost} + > + <IconQuestionMark color="echoes-color-icon-subdued" /> + </Button> + </Tooltip> </ContentCell> <ContentCell>{intl.formatMessage({ id: 'quality_profiles.list.rules' })}</ContentCell> <ContentCell>{intl.formatMessage({ id: 'quality_profiles.list.updated' })}</ContentCell> |