Expressions: Fix button icon (#30444) (#30450)

(cherry picked from commit b9fd4dba36)

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
This commit is contained in:
Grot (@grafanabot)
2021-01-21 06:06:22 +01:00
committed by GitHub
co-authored by Torkel Ödegaard
parent 45f71a94f8
commit 39c5f1705e
@@ -316,14 +316,15 @@ export class QueryGroup extends PureComponent<Props, State> {
)}
{isAddingMixed && this.renderMixedPicker()}
{this.isExpressionsSupported(dsSettings) && (
<Tooltip content="Experimental feature, queries might break in next version">
<Tooltip content="Experimental feature: queries could stop working in next version" placement="right">
<Button
icon="plus"
onClick={this.onAddExpressionClick}
variant="secondary"
className={styles.expressionButton}
>
Expression <Icon name="exclamation-triangle" className="muted" size="sm" />
<span>Expression&nbsp;</span>
<Icon name="exclamation-triangle" className="muted" size="sm" />
</Button>
</Tooltip>
)}