Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
e23f72b7
Unverified
Commit
e23f72b7
authored
Apr 25, 2020
by
Torkel Ödegaard
Committed by
GitHub
Apr 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RadioButtons: Updates design and no longer full width in panel edit (#23883)
parent
e505babb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx
+3
-3
packages/grafana-ui/src/utils/standardEditors.tsx
+1
-1
No files found.
packages/grafana-ui/src/components/Forms/RadioButtonGroup/RadioButton.tsx
View file @
e23f72b7
...
...
@@ -28,13 +28,13 @@ const getRadioButtonStyles = stylesFactory((theme: GrafanaTheme, size: RadioButt
const
c
=
theme
.
palette
;
const
textColor
=
theme
.
colors
.
textSemiWeak
;
const
textColorHover
=
theme
.
colors
.
text
;
const
textColorActive
=
theme
.
isLight
?
c
.
blue77
:
c
.
blue95
;
const
textColorActive
=
theme
.
colors
.
textBlue
;
const
borderColor
=
theme
.
colors
.
border2
;
const
borderColorHover
=
theme
.
colors
.
border3
;
const
borderColorActive
=
theme
.
isLight
?
c
.
blue77
:
c
.
blue95
;
const
borderColorActive
=
theme
.
colors
.
border2
;
const
bg
=
theme
.
colors
.
bodyBg
;
const
bgDisabled
=
theme
.
isLight
?
c
.
gray95
:
c
.
gray15
;
const
bgActive
=
theme
.
isLight
?
c
.
white
:
c
.
gray05
;
const
bgActive
=
theme
.
colors
.
bg2
;
const
border
=
`1px solid
${
borderColor
}
`
;
const
borderActive
=
`1px solid
${
borderColorActive
}
`
;
...
...
packages/grafana-ui/src/utils/standardEditors.tsx
View file @
e23f72b7
...
...
@@ -247,7 +247,7 @@ export const getStandardOptionEditors = () => {
id
:
'radio'
,
name
:
'Radio'
,
description
:
'Allows option selection'
,
editor
:
props
=>
<
RadioButtonGroup
{
...
props
}
options=
{
props
.
item
.
settings
?.
options
}
fullWidth
/>,
editor
:
props
=>
<
RadioButtonGroup
{
...
props
}
options=
{
props
.
item
.
settings
?.
options
}
/>,
};
const
unit
:
StandardEditorsRegistryItem
<
string
>
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment