You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To display Kanban correctly, you need to provide the corresponding styles. You can use the **index.css** file to specify important styles for Kanban and containers:
126
+
127
+
~~~css title="index.css"
128
+
/* specify styles for initial page */
129
+
html,
130
+
body,
131
+
#root {
132
+
height: 100%;
133
+
padding: 0;
134
+
margin: 0;
135
+
}
136
+
137
+
/* specify styles for Kanban and Toolbar container */
138
+
.component_container {
139
+
height: 100%;
140
+
margin: 0auto;
141
+
}
142
+
143
+
/* specify styles for Kanban container */
144
+
.widget {
145
+
height: calc(100%-56px);
146
+
}
147
+
~~~
148
+
123
149
#### Loading data
124
150
125
151
To add data into the Kanban, you need to provide a data set. You can create the ***data.js*** file in the ***src/*** directory and add some data into it:
@@ -221,9 +247,9 @@ export default function KanbanComponent(props) {
0 commit comments