From 5b8c5a7a788d9650b54fc9c6168eb22d6f889042 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sat, 7 Aug 2021 16:01:40 +0300 Subject: [PATCH] show production in burgs editor --- index.css | 17 ++++++++++- index.html | 32 ++++++++++++++++---- modules/production-generator.js | 52 ++++++++++++++++----------------- modules/ui/burg-editor.js | 25 ++++++++++++---- 4 files changed, 89 insertions(+), 37 deletions(-) diff --git a/index.css b/index.css index 58b824a5..f59b0a94 100644 --- a/index.css +++ b/index.css @@ -1548,15 +1548,30 @@ div.states > div.resourceBonus > span.icon-male { line-height: 1.4em; } +#burgBody { + display: flex; + padding-bottom: 0.3em; +} + +#burgBody > div { + width: 18em; +} + #burgBody div.label { display: inline-block; width: 6em; } +#burgBody svg.resIcon { + vertical-align: top; + width: 1.6em; + height: 1.6em; +} + #burgBody > div > div, #riverBody > div, #lakeBody > div { - padding: 0.1em; + line-height: 1.8em; } #riverBody div.label, diff --git a/index.html b/index.html index 7920df17..12cc7860 100644 --- a/index.html +++ b/index.html @@ -1966,12 +1966,12 @@