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
ccffe0e9
Unverified
Commit
ccffe0e9
authored
Apr 25, 2019
by
Torkel Ödegaard
Committed by
GitHub
Apr 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RefreshPicker: minor design update (#16774)
Fixes #16627
parent
470634e2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
packages/grafana-ui/src/components/RefreshPicker/RefreshPicker.tsx
+1
-1
packages/grafana-ui/src/components/RefreshPicker/_RefreshPicker.scss
+10
-2
public/app/features/dashboard/components/DashNav/DashNav.tsx
+1
-1
No files found.
packages/grafana-ui/src/components/RefreshPicker/RefreshPicker.tsx
View file @
ccffe0e9
...
...
@@ -55,7 +55,7 @@ export class RefreshPicker extends PureComponent<Props> {
const
cssClasses
=
classNames
({
'refresh-picker'
:
true
,
'refresh-picker--
refreshing'
:
selectedValue
.
label
!
==
offOption
.
label
,
'refresh-picker--
off'
:
selectedValue
.
label
=
==
offOption
.
label
,
});
return
(
...
...
packages/grafana-ui/src/components/RefreshPicker/_RefreshPicker.scss
View file @
ccffe0e9
...
...
@@ -6,6 +6,10 @@
display
:
flex
;
}
.navbar-button--refresh
{
border-right
:
0
;
}
.gf-form-input--form-dropdown
{
position
:
static
;
}
...
...
@@ -16,9 +20,13 @@
width
:
100%
;
}
&
--refreshing
{
.select-button-value
{
color
:
$orange
;
}
&
--off
{
.select-button-value
{
color
:
$orang
e
;
display
:
non
e
;
}
}
...
...
public/app/features/dashboard/components/DashNav/DashNav.tsx
View file @
ccffe0e9
...
...
@@ -267,8 +267,8 @@ export class DashNav extends PureComponent<Props> {
{
!
dashboard
.
timepicker
.
hidden
&&
(
<
div
className=
"navbar-buttons"
>
<
DashNavTimeControls
dashboard=
{
dashboard
}
location=
{
location
}
updateLocation=
{
updateLocation
}
/>
<
div
className=
"gf-timepicker-nav"
ref=
{
element
=>
(
this
.
timePickerEl
=
element
)
}
/>
<
DashNavTimeControls
dashboard=
{
dashboard
}
location=
{
location
}
updateLocation=
{
updateLocation
}
/>
</
div
>
)
}
</
div
>
...
...
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