aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--scripts/park-editor.html18
1 files changed, 11 insertions, 7 deletions
diff --git a/scripts/park-editor.html b/scripts/park-editor.html
index b5f2163..3eed2cd 100644
--- a/scripts/park-editor.html
+++ b/scripts/park-editor.html
@@ -47,13 +47,15 @@
#clear-checks { padding: .3rem .6rem; }
td.mapcell { text-align: center; }
td.mapcell a { text-decoration: none; padding: 0 .4rem; cursor: pointer; }
- th.c-coord, td.c-coord { width: 6ch; max-width: 6ch; overflow: hidden; }
+ th.c-coord, td.c-coord { width: 6ch; min-width: 6ch; max-width: 6ch; overflow: hidden; }
td.c-coord input { width: 6ch; min-width: 0; font-size: .72rem; }
- th.c-flag2, td.c-flag2 { width: 2.2em; max-width: 2.2em; overflow: hidden; }
- th.c-flag3, td.c-flag3 { width: 3.2em; max-width: 3.2em; overflow: hidden; }
- th.c-short, td.c-short { width: 3.2em; max-width: 3.2em; overflow: hidden; }
- th.c-shelter, td.c-shelter { width: 5.2em; max-width: 5.2em; overflow: hidden; }
- th.c-ja6, td.c-ja6 { width: 6.2em; max-width: 6.2em; overflow: hidden; }
+ th.c-flag2, td.c-flag2 { width: 2.2em; min-width: 2.2em; max-width: 2.2em; overflow: hidden; }
+ th.c-flag3, td.c-flag3 { width: 3.2em; min-width: 3.2em; max-width: 3.2em; overflow: hidden; }
+ th.c-short, td.c-short { width: 3.2em; min-width: 3.2em; max-width: 3.2em; overflow: hidden; }
+ th.c-shelter, td.c-shelter { width: 5.2em; min-width: 5.2em; max-width: 5.2em; overflow: hidden; }
+ th.c-ja6, td.c-ja6 { width: 2.2em; min-width: 2.2em; max-width: 2.2em; overflow: hidden; }
+ th.c-toy, td.c-toy { width: 10em; min-width: 10em; max-width: 10em; overflow: hidden; }
+ td.c-toy input { width: 100%; min-width: 0; }
td.c-flag2 input, td.c-flag3 input, td.c-short input,
td.c-shelter input, td.c-ja6 input {
width: 100%; min-width: 0; padding-left: .1rem; padding-right: .1rem;
@@ -117,7 +119,7 @@ const DATASETS = {
FIELD("防災用具", "防災用具"), FIELD("ボール遊び", "ボール<br>遊び"),
...TOY_ORDER.map(([toy, label]) => ({ key: `__toy_${toy}`, label, toy })),
FIELD("草地広場", "草地<br>広場"), FIELD("多目的広場", "多目的<br>広場"),
- FIELD("築山", "築山"), FIELD("じゃぶじゃぶ池", "じゃぶじゃぶ<br>池"),
+ FIELD("築山", "築山"), FIELD("じゃぶじゃぶ池", "じゃぶ<br>じゃぶ<br>池"),
FIELD("時計", "時計"),
FIELD("緯度", "緯度"), FIELD("経度", "経度"), FIELD("備考", "備考"),
],
@@ -425,6 +427,8 @@ function render() {
ボール遊び: "c-short",
シェルター等: "c-shelter",
じゃぶじゃぶ池: "c-ja6",
+ __toy_swing: "c-toy",
+ __toy_bar: "c-toy",
};
const headCols = ["#", "確認", "地図"]
.map((label) => ({ label, cls: "" }))