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
91b34340
Commit
91b34340
authored
Aug 25, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wip: minor fixes
parent
1c978162
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
public/app/core/components/scroll/scroll.ts
+1
-0
public/app/core/directives/dash_class.ts
+1
-3
public/app/features/dashboard/dashgrid/DashboardGrid.tsx
+1
-1
public/sass/components/_dashboard_grid.scss
+5
-0
No files found.
public/app/core/components/scroll/scroll.ts
View file @
91b34340
...
...
@@ -19,6 +19,7 @@ export function geminiScrollbar() {
let
scrollRoot
=
elem
.
parent
();
let
scroller
=
elem
;
console
.
log
(
'scroll'
);
if
(
attrs
.
grafanaScrollbar
&&
attrs
.
grafanaScrollbar
===
'scrollonroot'
)
{
scrollRoot
=
scroller
;
}
...
...
public/app/core/directives/dash_class.ts
View file @
91b34340
...
...
@@ -5,9 +5,7 @@ coreModule.directive('dashClass', function($timeout) {
return
{
link
:
function
(
$scope
,
elem
)
{
$scope
.
ctrl
.
dashboard
.
events
.
on
(
'view-mode-changed'
,
function
(
panel
)
{
$timeout
(()
=>
{
elem
.
toggleClass
(
'panel-in-fullscreen'
,
panel
.
fullscreen
===
true
);
},
10
);
elem
.
toggleClass
(
'panel-in-fullscreen'
,
panel
.
fullscreen
===
true
);
});
elem
.
toggleClass
(
'panel-in-fullscreen'
,
$scope
.
ctrl
.
dashboard
.
meta
.
fullscreen
===
true
);
...
...
public/app/features/dashboard/dashgrid/DashboardGrid.tsx
View file @
91b34340
...
...
@@ -165,7 +165,7 @@ export class DashboardGrid extends React.Component<DashboardGridProps, any> {
componentDidMount
()
{
setTimeout
(()
=>
{
this
.
setState
({
animated
:
fals
e
});
this
.
setState
({
animated
:
tru
e
});
});
}
...
...
public/sass/components/_dashboard_grid.scss
View file @
91b34340
...
...
@@ -31,6 +31,11 @@
.react-resizable-handle
{
display
:
none
;
}
// the react-grid has a height transition
.react-grid-layout
{
transition-property
:
none
;
}
}
@include
media-breakpoint-down
(
sm
)
{
...
...
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