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
81cc24c1
Commit
81cc24c1
authored
Nov 23, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'davkal/sticky-footer'
parents
0cb47cb3
c928c546
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletions
+25
-1
public/sass/components/_footer.scss
+2
-1
public/sass/layout/_page.scss
+23
-0
No files found.
public/sass/components/_footer.scss
View file @
81cc24c1
...
...
@@ -4,7 +4,7 @@
.footer
{
color
:
$footer-link-color
;
padding
:
5
rem
0
1rem
0
;
padding
:
1
rem
0
1rem
0
;
font-size
:
$font-size-sm
;
position
:
relative
;
width
:
98%
;
/* was causing horiz scrollbars - need to examine */
...
...
@@ -38,6 +38,7 @@
}
}
// Keeping footer inside the graphic on Login screen
.login-page
{
.footer
{
bottom
:
$spacer
;
...
...
public/sass/layout/_page.scss
View file @
81cc24c1
...
...
@@ -40,6 +40,29 @@
&
--dashboard
{
height
:
calc
(
100%
-
56px
);
}
// Sticky footer
display
:
flex
;
flex-direction
:
column
;
>
div
{
flex-grow
:
1
;
}
>
.footer
{
flex-shrink
:
0
;
}
// Render in correct position even ng-view div is not rendered yet
>
.footer
:first-child
{
flex-grow
:
1
;
display
:
flex
;
>
*
{
width
:
100%
;
align-self
:
flex-end
;
}
}
}
// fix for phantomjs
...
...
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