Issue 2747 - fix unnecesary scroll

stable
Juanfran 2015-05-29 08:49:24 +02:00
parent 07ed833e02
commit 5731843d3e
7 changed files with 12 additions and 8 deletions

View File

@ -1,6 +1,7 @@
.navbar { .navbar {
background: rgba($black, .5); background: rgba($black, .5);
display: flex; display: flex;
height: $navbar;
justify-content: space-between; justify-content: space-between;
position: relative; position: relative;
&:after { &:after {

View File

@ -1,6 +1,6 @@
.profile { .profile {
display: flex; display: flex;
min-height: 100vh; min-height: $main-height;
padding: 2rem 0; padding: 2rem 0;
.profile-bar { .profile-bar {
margin-right: 1rem; margin-right: 1rem;

View File

@ -49,13 +49,13 @@ body {
.wrapper { .wrapper {
display: flex; display: flex;
min-height: 100vh; min-height: $main-height;
} }
.menu-secondary { .menu-secondary {
background: $whitish; background: $whitish;
flex: 0 0 auto; flex: 0 0 auto;
min-height: 100vh; min-height: $main-height;
min-width: 0; min-width: 0;
padding: 1rem; padding: 1rem;
width: 320px; width: 320px;
@ -82,7 +82,7 @@ body {
.menu-tertiary { .menu-tertiary {
background-color: $dark-taiga; background-color: $dark-taiga;
flex: 0 0 auto; flex: 0 0 auto;
min-height: 100vh; min-height: $main-height;
width: 250px; width: 250px;
} }

View File

@ -81,3 +81,6 @@
max-width: 1rem; max-width: 1rem;
transform-origin: 32 32; transform-origin: 32 32;
} }
$navbar: 45px;
$main-height: calc(100vh - 45px);

View File

@ -1,8 +1,8 @@
.kanban { .kanban {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100vh; height: $main-height;
max-height: 100vh; max-height: $main-height;
header { header {
min-height: 70px; min-height: 70px;
} }

View File

@ -1,5 +1,5 @@
.taskboard { .taskboard {
height: 100vh; height: $main-height;
overflow: hidden; overflow: hidden;
h1, h1,
.graphics-container, .graphics-container,

View File

@ -4,7 +4,7 @@ tg-project-menu {
background-color: $dark-taiga; background-color: $dark-taiga;
background-image: url('../images/menu.png'); background-image: url('../images/menu.png');
background-position: 0 -300px; background-position: 0 -300px;
min-height: 100vh; min-height: $main-height;
padding: 1rem 0; padding: 1rem 0;
text-transform: uppercase; text-transform: uppercase;
} }