Web: Set a fixed height for Tabulator tables.
It's ugly but couldn't find a way to make it responsive and not break the Virtual DOM.
This commit is contained in:
parent
abed318500
commit
d0d40c8e46
@ -54,6 +54,7 @@ export default {
|
|||||||
initialSort: [
|
initialSort: [
|
||||||
{ column: "updated", dir: "desc" },
|
{ column: "updated", dir: "desc" },
|
||||||
],
|
],
|
||||||
|
height: "720px", // Must be set in order for the virtual DOM to function correctly.
|
||||||
data: [], // Will be filled via a Flamenco API request.
|
data: [], // Will be filled via a Flamenco API request.
|
||||||
selectable: false, // The active job is tracked by click events, not row selection.
|
selectable: false, // The active job is tracked by click events, not row selection.
|
||||||
};
|
};
|
||||||
|
@ -54,7 +54,7 @@ export default {
|
|||||||
initialSort: [
|
initialSort: [
|
||||||
{ column: "updated", dir: "desc" },
|
{ column: "updated", dir: "desc" },
|
||||||
],
|
],
|
||||||
height: "300px",
|
height: "300px", // Must be set in order for the virtual DOM to function correctly.
|
||||||
data: [], // Will be filled via a Flamenco API request.
|
data: [], // Will be filled via a Flamenco API request.
|
||||||
selectable: false, // The active task is tracked by click events.
|
selectable: false, // The active task is tracked by click events.
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user