Merge pull request #408 from taigaio/taskboard-large-screen

fix taskboard with 28" screens
stable
David Barragán Merino 2015-03-20 09:54:39 +01:00
commit a105ccb483
3 changed files with 21 additions and 13 deletions

View File

@ -1,17 +1,18 @@
div.wrapper(tg-taskboard, ng-controller="TaskboardController as ctrl", div.wrapper(tg-taskboard, ng-controller="TaskboardController as ctrl",
ng-init="section='backlog'") ng-init="section='backlog'")
section.main.taskboard section.main.taskboard
h1 .taskboard-inner
span(tg-bo-bind="project.name", class="project-name-short") h1
span.green(tg-bo-bind="sprint.name") span(tg-bo-bind="project.name", class="project-name-short")
span.date(tg-date-range="sprint.estimated_start,sprint.estimated_finish") span.green(tg-bo-bind="sprint.name")
include ../includes/components/sprint-summary span.date(tg-date-range="sprint.estimated_start,sprint.estimated_finish")
include ../includes/components/sprint-summary
div.graphics-container div.graphics-container
div.burndown(tg-sprint-graph) div.burndown(tg-sprint-graph)
include ../includes/modules/burndown include ../includes/modules/burndown
include ../includes/modules/taskboard-table include ../includes/modules/taskboard-table
div.lightbox.lightbox-generic-form(tg-lb-create-edit-task) div.lightbox.lightbox-generic-form(tg-lb-create-edit-task)
include ../includes/modules/lightbox-task-create-edit include ../includes/modules/lightbox-task-create-edit

View File

@ -1,7 +1,6 @@
.taskboard { .taskboard {
display: flex; height: 100vh;
flex-direction: column; overflow: hidden;
max-height: 100vh;
h1, h1,
.graphics-container, .graphics-container,
.summary { .summary {
@ -11,3 +10,10 @@
@include slide(300px, hidden); @include slide(300px, hidden);
} }
} }
.taskboard-inner {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
}

View File

@ -47,6 +47,7 @@ $column-margin: 0 10px 0 0;
.taskboard-table { .taskboard-table {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
height: 100%;
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
} }
@ -109,7 +110,7 @@ $column-margin: 0 10px 0 0;
} }
.taskboard-table-body { .taskboard-table-body {
height: 700px; height: 100%;
overflow: auto; overflow: auto;
width: 100%; width: 100%;
.task-column { .task-column {