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
490b8fc5
Commit
490b8fc5
authored
Nov 17, 2017
by
Alexander Zobnin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
panels: add css tweaks for scrollable panels
parent
126f3703
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
public/app/features/panel/panel_directive.ts
+3
-1
public/sass/components/_panel_dashlist.scss
+0
-8
public/sass/pages/_dashboard.scss
+6
-0
No files found.
public/app/features/panel/panel_directive.ts
View file @
490b8fc5
...
...
@@ -22,7 +22,9 @@ var panelTemplate = `
<div class="panel-content">
<div gemini-scrollbar ng-if="ctrl.scrollable">
<ng-transclude></ng-transclude>
<div class="panel-content--scrollable">
<ng-transclude></ng-transclude>
</div>
</div>
<ng-transclude ng-if="!ctrl.scrollable"></ng-transclude>
</div>
...
...
public/sass/components/_panel_dashlist.scss
View file @
490b8fc5
...
...
@@ -7,12 +7,6 @@
margin-bottom
:
$spacer
;
}
.dashlist
{
// Add space for scrollbar
margin-right
:
6px
;
margin-left
:
4px
;
}
.dashlist-link
{
display
:
block
;
margin
:
5px
;
...
...
@@ -31,5 +25,3 @@
background-color
:
$tight-form-func-bg
;
}
}
public/sass/pages/_dashboard.scss
View file @
490b8fc5
...
...
@@ -39,6 +39,12 @@ div.flot-text {
.panel-content
{
padding
:
0px
10px
5px
10px
;
height
:
100%
;
&
--scrollable
{
// Add space for scrollbar
padding-right
:
10px
;
padding-left
:
6px
;
}
}
.panel-title-container
{
...
...
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