Forms: Remove usage of gf-form textarea and help icons (#70561)

This commit is contained in:
Joao Silva
2023-06-23 19:07:28 +09:00
committed by GitHub
parent 24efcc54d2
commit cebc180e5b
5 changed files with 21 additions and 47 deletions
@@ -64,9 +64,7 @@ export const TLSAuthSettings = ({ dataSourceConfig, onChange }: HttpSettingsBase
content="TLS/SSL Certs are encrypted and stored in the Grafana database."
theme="info"
>
<div className="gf-form-help-icon gf-form-help-icon--right-normal">
<Icon name="info-circle" size="xs" style={{ marginLeft: '10px' }} />
</div>
<Icon name="info-circle" size="xs" style={{ marginLeft: '10px' }} />
</Tooltip>
</div>
<div>
@@ -57,9 +57,7 @@ export class Switch extends PureComponent<Props, State> {
{label}
{tooltip && (
<Tooltip placement={tooltipPlacement ? tooltipPlacement : 'auto'} content={tooltip} theme={'info'}>
<div className="gf-form-help-icon gf-form-help-icon--right-normal">
<Icon name="info-circle" size="sm" style={{ marginLeft: '10px' }} />
</div>
<Icon name="info-circle" size="sm" style={{ marginLeft: '10px' }} />
</Tooltip>
)}
</div>