Flux: Improve styling of sample query button and use sentence case (#69222)

This commit is contained in:
Ivana Huckova
2023-05-30 15:04:31 +02:00
committed by GitHub
parent 09895c26b6
commit 0d54a8858b
@@ -199,7 +199,15 @@ class UnthemedFluxQueryEditor extends PureComponent<Props> {
>
Flux language syntax
</LinkButton>
<Segment options={samples} value="Sample Query" onChange={this.onSampleChange} />
<Segment
options={samples}
value="Sample query"
onChange={this.onSampleChange}
className={css`
margin-top: -${theme.spacing(0.5)};
margin-left: ${theme.spacing(0.5)};
`}
/>
<div className="gf-form gf-form--grow">
<div className="gf-form-label gf-form-label--grow"></div>
</div>