mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
NewPanelEditor: increase sidebar min width, value mappings radio no longer full width (#23889)
This commit is contained in:
parent
d1665222a7
commit
a56e55ac6c
@ -1,6 +1,6 @@
|
||||
import React, { ChangeEvent } from 'react';
|
||||
import { HorizontalGroup } from '../Layout/Layout';
|
||||
import { FullWidthButtonContainer, IconButton, Label, RadioButtonGroup } from '../index';
|
||||
import { IconButton, Label, RadioButtonGroup } from '../index';
|
||||
import { Field } from '../Forms/Field';
|
||||
import { Input } from '../Input/Input';
|
||||
import { MappingType, RangeMap, SelectableValue, ValueMap, ValueMapping } from '@grafana/data';
|
||||
@ -81,7 +81,6 @@ export const MappingRow: React.FC<Props> = ({ valueMapping, updateValueMapping,
|
||||
return (
|
||||
<div>
|
||||
<Field label={label}>
|
||||
<FullWidthButtonContainer>
|
||||
<RadioButtonGroup
|
||||
options={MAPPING_OPTIONS}
|
||||
value={type}
|
||||
@ -89,7 +88,6 @@ export const MappingRow: React.FC<Props> = ({ valueMapping, updateValueMapping,
|
||||
onMappingTypeChange(type!);
|
||||
}}
|
||||
/>
|
||||
</FullWidthButtonContainer>
|
||||
</Field>
|
||||
{renderRow()}
|
||||
</div>
|
||||
|
@ -309,7 +309,7 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
|
||||
return (
|
||||
<SplitPane
|
||||
split="vertical"
|
||||
minSize={100}
|
||||
minSize={300}
|
||||
primary="second"
|
||||
/* Use persisted state for default size */
|
||||
defaultSize={uiState.rightPaneSize}
|
||||
|
Loading…
Reference in New Issue
Block a user