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
cd3cf5d1
Commit
cd3cf5d1
authored
Dec 08, 2017
by
Alexander Zobnin
Committed by
Torkel Ödegaard
Dec 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
grid css transforms: minor refactor (#10128)
parent
3de17ecd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
public/app/features/panel/panel_header.ts
+4
-5
public/sass/components/_dashboard_grid.scss
+0
-1
No files found.
public/app/features/panel/panel_header.ts
View file @
cd3cf5d1
...
...
@@ -107,15 +107,14 @@ function panelHeader($compile) {
}
});
elem
.
find
(
'.panel-menu-toggle'
).
click
((
evt
)
=>
{
console
.
log
(
evt
);
togglePanelState
();
elem
.
find
(
'.panel-menu-toggle'
).
click
(()
=>
{
togglePanelStackPosition
();
});
function
togglePanelMenu
(
e
)
{
if
(
!
isDragged
)
{
e
.
stopPropagation
();
togglePanelSta
te
();
togglePanelSta
ckPosition
();
elem
.
find
(
'[data-toggle=dropdown]'
).
dropdown
(
'toggle'
);
}
}
...
...
@@ -124,7 +123,7 @@ function panelHeader($compile) {
* Hack for adding special class 'dropdown-menu-open' to the panel.
* This class sets z-index for panel and prevents menu overlapping.
*/
function
togglePanelSta
te
()
{
function
togglePanelSta
ckPosition
()
{
const
menuOpenClass
=
'dropdown-menu-open'
;
const
panelGridClass
=
'.react-grid-item.panel'
;
...
...
public/sass/components/_dashboard_grid.scss
View file @
cd3cf5d1
...
...
@@ -53,4 +53,3 @@
.react-grid-item.react-draggable-dragging.panel
{
z-index
:
$zindex-dropdown
;
}
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