From 9ce260af296d79acc9aec679ba0e4171370107c1 Mon Sep 17 00:00:00 2001 From: sofronaspe Date: Sat, 11 Jan 2025 14:23:35 -0500 Subject: [PATCH] Fix icon size in burg editor. --- index.css | 9 ++++++++- modules/ui/layers.js | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/index.css b/index.css index 4a83a129..0a231953 100644 --- a/index.css +++ b/index.css @@ -1618,6 +1618,13 @@ div.states > div.resourceBonus > span.icon-male { width: 6em; } +#burgBody .resIcon{ + width: 1.5em; + height: 1.5em; + vertical-align: middle; + margin-right: 0.2em; +} + #burgBody > div > div, #riverBody > div, #routeBody > div, @@ -2463,4 +2470,4 @@ svg.button { body { background: #25252a; } -} +} \ No newline at end of file diff --git a/modules/ui/layers.js b/modules/ui/layers.js index 9b365518..88134d40 100644 --- a/modules/ui/layers.js +++ b/modules/ui/layers.js @@ -1002,10 +1002,10 @@ function drawResources() { // continue; // } - resourcesHTML += ` + resourcesHTML += ` - `; + `; } goods.html(resourcesHTML);