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
76381566
Unverified
Commit
76381566
authored
Jan 30, 2020
by
Evgeny Bibko
Committed by
GitHub
Jan 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TimePicker: Should display in kiosk mode (#21816)
* Timepicker class fixed * Missed arrow in dashboard title
parent
6dada090
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
packages/grafana-ui/src/components/TimePicker/TimePicker.tsx
+1
-1
packages/grafana-ui/src/components/TimePicker/__snapshots__/TimePicker.test.tsx.snap
+2
-2
public/sass/components/_view_states.scss
+1
-0
No files found.
packages/grafana-ui/src/components/TimePicker/TimePicker.tsx
View file @
76381566
...
...
@@ -158,7 +158,7 @@ export class UnthemedTimePicker extends PureComponent<Props, State> {
const
hasAbsolute
=
isDateTime
(
value
.
raw
.
from
)
||
isDateTime
(
value
.
raw
.
to
);
const
syncedTimePicker
=
timeSyncButton
&&
isSynced
;
const
timePickerIconClass
=
cx
(
'fa fa-clock-o fa-fw'
,
{
[
'icon-brand-gradient'
]:
syncedTimePicker
});
const
timePickerButtonClass
=
cx
(
'btn navbar-button navbar-button--
zoom
'
,
{
const
timePickerButtonClass
=
cx
(
'btn navbar-button navbar-button--
tight
'
,
{
[
`btn--radius-right-0
${
styles
.
noRightBorderStyle
}
`
]:
!!
timeSyncButton
,
[
`explore-active-button-glow
${
styles
.
syncedTimePicker
}
`
]:
syncedTimePicker
,
});
...
...
packages/grafana-ui/src/components/TimePicker/__snapshots__/TimePicker.test.tsx.snap
View file @
76381566
...
...
@@ -35,7 +35,7 @@ exports[`TimePicker renders buttons correctly 1`] = `
>
<button
aria-label="TimePicker Open Button"
className="btn navbar-button navbar-button--
zoom
"
className="btn navbar-button navbar-button--
tight
"
onClick={[Function]}
>
<i
...
...
@@ -342,7 +342,7 @@ exports[`TimePicker renders content correctly after beeing open 1`] = `
>
<button
aria-label="TimePicker Open Button"
className="btn navbar-button navbar-button--
zoom
"
className="btn navbar-button navbar-button--
tight
"
onClick={[Function]}
>
<i
...
...
public/sass/components/_view_states.scss
View file @
76381566
...
...
@@ -14,6 +14,7 @@
}
i
.navbar-page-btn__folder-icon
{
display
:
inline-block
;
opacity
:
inherit
;
}
}
...
...
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