fixed table display issues in crafter
This commit is contained in:
parent
41d4a4e3b8
commit
b41e182454
1 changed files with 2 additions and 0 deletions
|
@ -802,11 +802,13 @@ function displayRecipeStats(craft, parent_id) {
|
|||
|
||||
let ingredTable = document.createElement("table");
|
||||
ingredTable.classList.add("itemtable");
|
||||
ingredTable.style.tableLayout = "fixed";
|
||||
for (let i = 0; i < 3; i++) {
|
||||
let row = document.createElement("tr");
|
||||
for (let j = 0; j < 2; j++) {
|
||||
let ingredName = ingreds[2 * i + j];
|
||||
let cell = document.createElement("td");
|
||||
cell.style.width = "50%";
|
||||
cell.classList.add("center");
|
||||
cell.classList.add("box");
|
||||
let b = document.createElement("b");
|
||||
|
|
Loading…
Reference in a new issue