mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Remove gf-form and change to CSS object in Graphite function editor (#79446)
Chore: remove gf-form and add CSS fumction object
This commit is contained in:
parent
f053cc7aae
commit
79fca7dce4
@ -5152,9 +5152,6 @@ exports[`better eslint`] = {
|
||||
"public/app/plugins/datasource/graphite/components/AddGraphiteFunction.tsx:5381": [
|
||||
[0, 0, 0, "Styles should be written using objects.", "0"]
|
||||
],
|
||||
"public/app/plugins/datasource/graphite/components/FunctionEditor.tsx:5381": [
|
||||
[0, 0, 0, "Styles should be written using objects.", "0"]
|
||||
],
|
||||
"public/app/plugins/datasource/graphite/components/FunctionParamEditor.tsx:5381": [
|
||||
[0, 0, 0, "Styles should be written using objects.", "0"]
|
||||
],
|
||||
|
@ -14,12 +14,12 @@ interface FunctionEditorProps extends FunctionEditorControlsProps {
|
||||
|
||||
const getStyles = (theme: GrafanaTheme2) => {
|
||||
return {
|
||||
icon: css`
|
||||
margin-right: ${theme.spacing(0.5)};
|
||||
`,
|
||||
icon: css({
|
||||
marginRight: theme.spacing(0.5),
|
||||
}),
|
||||
label: css({
|
||||
fontWeight: theme.typography.fontWeightMedium,
|
||||
fontSize: theme.typography.bodySmall.fontSize, // to match .gf-form-label
|
||||
fontSize: theme.typography.bodySmall.fontSize,
|
||||
cursor: 'pointer',
|
||||
display: 'inline-block',
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user