mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 19:00:54 -06:00
Transformations: Fix group by field transformation field name text-overflow (#74173)
Transformations: Grow field name label
This commit is contained in:
parent
8b08ae337e
commit
de25588956
@ -83,7 +83,7 @@ export const GroupByFieldConfiguration = ({ fieldName, config, onConfigChange }:
|
||||
);
|
||||
|
||||
return (
|
||||
<InlineField label={fieldName} labelWidth={32} grow shrink>
|
||||
<InlineField className={styles.label} label={fieldName} grow shrink>
|
||||
<Stack gap={0.5} direction="row" wrap={false}>
|
||||
<div className={styles.operation}>
|
||||
<Select options={options} value={config?.operation} placeholder="Ignored" onChange={onChange} isClearable />
|
||||
@ -107,6 +107,11 @@ export const GroupByFieldConfiguration = ({ fieldName, config, onConfigChange }:
|
||||
|
||||
const getStyles = (theme: GrafanaTheme2) => {
|
||||
return {
|
||||
label: css`
|
||||
label {
|
||||
min-width: ${theme.spacing(32)};
|
||||
}
|
||||
`,
|
||||
operation: css`
|
||||
flex-shrink: 0;
|
||||
height: 100%;
|
||||
|
Loading…
Reference in New Issue
Block a user