Closed vetash closed 5 years ago
Hi @vetash , Do you mean the board's class property?
[
{
"id" : "board-id-1", // id of the board
"title" : "Board Title", // title of the board
"class" : "class1,class2,...", // css classes to add at the title
"dragTo": ['another-board-id',...], // array of ids of boards where items can be dropped (default: [])
"item" : [ // item of this board
{
"id" : "item-id-1", // id of the item
"title" : "Item 1" // title of the item
},
{
"id" : "item-id-2",
"title" : "Item 2"
}
]
},
{
"id" : "board-id-2",
"title" : "Board Title 2"
}
]
Yes, but class
param affect only for board title not body.
Can you tell us what you intending to do? Is that a scroll? A background image? Or something else?
At least i want to set different color on different boards.
Unfortunately, there isn't a way to select main
tag by CSS starting from child (my initial thought was to reach div.kanban-board by it's child with a specific class. By the way, adding a bodyClass property on board will make possible add scroll on boards, which already was requested here at #33.
@riktar I created a pull request for this.
Hello, how can i change style of main element?
<main class="kanban-drag"></main>
I mean i want to set different classes to eachmain
elements.