From fe9a5dcdcee1b2bf8c8b3832f290d7ec9acfbfb7 Mon Sep 17 00:00:00 2001 From: Thomas Zemp Date: Thu, 14 Dec 2023 16:07:07 +0100 Subject: [PATCH] fix: update info icons (#1290) --- src/settingsFields.component.js | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/src/settingsFields.component.js b/src/settingsFields.component.js index db882202..72e1206a 100644 --- a/src/settingsFields.component.js +++ b/src/settingsFields.component.js @@ -1,8 +1,14 @@ import i18n from '@dhis2/d2-i18n' -import { Button, Card, CenteredContent, CircularLoader } from '@dhis2/ui' +import { + Button, + Card, + CenteredContent, + CircularLoader, + IconInfo24, + Tooltip, +} from '@dhis2/ui' import FormBuilder from 'd2-ui/lib/forms/FormBuilder.component' import { wordToValidatorMap } from 'd2-ui/lib/forms/Validators' -import IconButton from 'material-ui/IconButton' import PropTypes from 'prop-types' import React from 'react' import configOptionStore from './configOptionStore' @@ -36,7 +42,7 @@ const styles = { color: AppTheme.rawTheme.palette.primary1Color, position: 'absolute', right: 0, - top: 24, + top: 36, }, menuIcon: { color: '#757575', @@ -85,24 +91,12 @@ function wrapUserSettingsOverride({ component, valueLabel }) { : i18n.t('This setting can be overridden by user settings') return ( -
+
{super.render()}
- - info_outline - + + +
)