Skip to content

Commit

Permalink
Placed header on top of the svg
Browse files Browse the repository at this point in the history
And made the svg full height
  • Loading branch information
PeeHaa committed Jan 8, 2017
1 parent 121d096 commit d94e2b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ html,body {
}

header {
position: relative;;
position: absolute;
width: 100%;
/*height: 35px;*/
color: #fff;
Expand All @@ -80,7 +80,7 @@ header {
padding-bottom: 20px;
box-sizing: border-box;
height: 80px;
background-color: #232323;
z-index: 100;
}

.header-text {
Expand Down Expand Up @@ -123,7 +123,7 @@ header {
#area {
width: 100%;
position: relative;
height: calc(100vh - 80px);
height: 100%;
}

svg {
Expand Down
2 changes: 1 addition & 1 deletion public/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ const GitAmp = (function(exports, $) {
};

Gui.prototype.getHeight = function() {
return exports.innerHeight - $('header').height();
return exports.innerHeight;
};

Gui.prototype.resize = function() {
Expand Down

0 comments on commit d94e2b0

Please sign in to comment.