dummy commit
This commit is contained in:
parent
f8aa679b89
commit
f83bafda36
2 changed files with 9 additions and 3 deletions
|
@ -336,13 +336,13 @@ function displayExpandedItem(item, parent_id){
|
|||
let powderPrefix = document.createElement("td");
|
||||
powderPrefix.classList.add("itemp");
|
||||
powderPrefix.classList.add("left");
|
||||
powderPrefix.textContent = "Powders: " + " [";
|
||||
powderPrefix.textContent = "Powders: [";
|
||||
row.appendChild(powderPrefix);
|
||||
|
||||
let spaceElem = document.createElement("td");
|
||||
//spaceElem.textContent = " ";
|
||||
spaceElem.classList.add("itemp");
|
||||
spaceElem.classList.add("left");
|
||||
|
||||
|
||||
let powderList = item.get("powders").map(x => powderNames.get(x))
|
||||
for(let i = 0; i < powderList.length; i++){
|
||||
|
@ -351,6 +351,7 @@ function displayExpandedItem(item, parent_id){
|
|||
console.log(powderStr);
|
||||
powder.textContent = numerals.get(powderStr.charAt(1), 10);
|
||||
powder.classList.add(powderMap.get(powderStr.charAt(0)));
|
||||
powder.classList.add("nopadding");
|
||||
row.appendChild(powder);
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,12 @@
|
|||
th, td {
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.nomargin{
|
||||
margin: 0;
|
||||
}
|
||||
.nopadding{
|
||||
padding: 0;
|
||||
}
|
||||
.equipment {
|
||||
padding: 4%;
|
||||
display: grid;
|
||||
|
|
Loading…
Add table
Reference in a new issue