Skip to content

[fix] styles #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions src/app/kanban/kanban.component.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
@import "../../../node_modules/@dhx/trial-kanban/dist/kanban.css";
/* import Kanban styles */
@import "@dhx/trial-kanban/dist/kanban.css";

/* specify styles for initial page */
html,
body{
height: 100%;
padding: 0;
margin: 0;
}

/* specify styles for Kanban and Toolbar container*/
.component_container {
height: 100%;
width: 100%;
margin: 0 auto;
}

/* specify styles for Kanban container */
.widget {
height: calc(100% - 56px);
}
2 changes: 1 addition & 1 deletion src/app/kanban/kanban.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
styleUrls: ["./kanban.component.css"],
template: `<div class="component_container">
<div #toolbar_container></div>
<div #kanban_container style="height: calc(100% - 56px);"></div>
<div #kanban_container class = "widget"></div>
</div>`
})

Expand Down