mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 08:18:10 -05:00
Adding label
This commit is contained in:
@@ -151,7 +151,8 @@ export default class MappingRow extends PureComponent<Props, State> {
|
||||
|
||||
return (
|
||||
<div className="mapping-row">
|
||||
<div className="mapping-row-type">
|
||||
<div className="gf-form-inline mapping-row-type">
|
||||
<Label width={5}>Type</Label>
|
||||
<SimplePicker
|
||||
placeholder="Choose type"
|
||||
options={mappingOptions}
|
||||
@@ -159,6 +160,7 @@ export default class MappingRow extends PureComponent<Props, State> {
|
||||
getOptionLabel={i => i.label}
|
||||
getOptionValue={i => i.value}
|
||||
onSelected={type => this.onMappingTypeChange(type)}
|
||||
width={7}
|
||||
/>
|
||||
</div>
|
||||
<div>{this.renderRow()}</div>
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
.mapping-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.mapping-row-type {
|
||||
|
||||
Reference in New Issue
Block a user