From c405d0ee6f7c5adec4db6f49f3b1b94300445549 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 15 May 2022 17:21:30 +0300 Subject: [PATCH] add more space to states editor --- index.css | 13 +---- modules/dynamic/editors/states-editor.js | 69 +++++++++--------------- 2 files changed, 27 insertions(+), 55 deletions(-) diff --git a/index.css b/index.css index 6d121555..848d8420 100644 --- a/index.css +++ b/index.css @@ -1396,7 +1396,7 @@ div.totalLine > div { } div.states > input { - width: 6em; + width: 7em; background: none; border: 0; } @@ -1405,20 +1405,11 @@ div.states div { width: 3.2em; } -div.states .statePower, div.states .biomeHabitability { width: 4em; -moz-appearance: textfield; } -div.states .stateBurgs { - width: 2.4em; -} - -div.states > .stateArea { - width: 5em; -} - div.states > .statePopulation { width: 3em; } @@ -1471,7 +1462,7 @@ div.states > .culturePopulation { } div.states > select { - width: 4.6em; + width: 7em; cursor: pointer; border: 0; background-color: transparent; diff --git a/modules/dynamic/editors/states-editor.js b/modules/dynamic/editors/states-editor.js index 46ad265d..a02076ea 100644 --- a/modules/dynamic/editors/states-editor.js +++ b/modules/dynamic/editors/states-editor.js @@ -24,19 +24,15 @@ function insertEditorHtml() { const editorHtml = /* html */ `