From b41e1824546f093108d3ef55682bf9937db8a11b Mon Sep 17 00:00:00 2001 From: ferricles Date: Tue, 19 Jan 2021 22:05:54 -0800 Subject: [PATCH] fixed table display issues in crafter --- display.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/display.js b/display.js index aa790d8..2fe65bb 100644 --- a/display.js +++ b/display.js @@ -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");