diff --git a/index.css b/index.css index db872a5f..501c99ee 100644 --- a/index.css +++ b/index.css @@ -1539,6 +1539,20 @@ div.states > .resourceIcon > * { pointer-events: none; } +div.states > .icon { + margin: 0; + cursor: pointer; + vertical-align: middle; +} + +div.states > .model { + width: 7em; +} + +div.states > .icon > * { + pointer-events: none; +} + #diplomacyBodySection > div { cursor: pointer; } diff --git a/modules/ui/resources-editor.js b/modules/ui/resources-editor.js index 1a9018cb..2de21aa7 100644 --- a/modules/ui/resources-editor.js +++ b/modules/ui/resources-editor.js @@ -29,13 +29,16 @@ function editResources() { // // {i: 33, name: "Saltpeter", icon: "resource-saltpeter", color: "#e6e3e3", value: 8, chance: 2, model: "habitability", bonus: {artillery: 3}} for (const r of pack.resources) { lines += `
- + + + + - + + -
${r.cells}