diff --git a/public/global.css b/public/global.css
index 3cb60c3..92df750 100644
--- a/public/global.css
+++ b/public/global.css
@@ -104,4 +104,6 @@ input:focus, select:focus {
border: 1px solid var(--indigo-dye);;
}
-
+input.short {
+ width:5em;
+}
diff --git a/src/components/App.svelte b/src/components/App.svelte
index 46df1e5..f2159b6 100644
--- a/src/components/App.svelte
+++ b/src/components/App.svelte
@@ -52,7 +52,7 @@
import ShipSpecs from './ShipSpecs/index.svelte';
import ShipItem from "./ShipItem/index.svelte";
import Field from "./Field/index.svelte";
- import Hull from "./Hull.svelte";
+ import Hull from "./Hull";
import Firecons from "./Firecons.svelte";
import Propulsion from "./Propulsion/index.svelte";
import Section from "~C/Section";
diff --git a/src/components/Engine/index.svelte b/src/components/Engine/index.svelte
index 6002086..993050a 100644
--- a/src/components/Engine/index.svelte
+++ b/src/components/Engine/index.svelte
@@ -35,4 +35,5 @@ div {
align-items: end;
}
label { margin-left: 2em; }
+ input[type="number"] { width: 5em; }
diff --git a/src/components/Firecons.svelte b/src/components/Firecons.svelte
index bbe1ac1..c80715c 100644
--- a/src/components/Firecons.svelte
+++ b/src/components/Firecons.svelte
@@ -1,6 +1,6 @@
-
+
@@ -12,7 +12,7 @@ import Field from '~C/Field';
export let nbr, cost, mass = (0,0,0);
const dispatch = createEventDispatcher();
- $: dispatch( 'change_firecons', nbr);
+ $: dispatch( 'change_firecons', nbr);
diff --git a/src/components/Armour/Layer/index.svelte b/src/components/Hull/Armour/Layer/index.svelte
similarity index 85%
rename from src/components/Armour/Layer/index.svelte
rename to src/components/Hull/Armour/Layer/index.svelte
index 3ffdc62..ef8fca8 100644
--- a/src/components/Armour/Layer/index.svelte
+++ b/src/components/Hull/Armour/Layer/index.svelte
@@ -16,8 +16,14 @@
const dispatch = createEventDispatcher();
- $: dispatch( 'ship_change',
+ $: dispatch( 'ship_change',
dux.actions.set_armour_layer({layer,rating})
);
+
+
diff --git a/src/components/Armour/index.svelte b/src/components/Hull/Armour/index.svelte
similarity index 96%
rename from src/components/Armour/index.svelte
rename to src/components/Hull/Armour/index.svelte
index 9338cc7..95a5b7f 100644
--- a/src/components/Armour/index.svelte
+++ b/src/components/Hull/Armour/index.svelte
@@ -46,7 +46,11 @@
diff --git a/src/components/Armour/stories.js b/src/components/Hull/Armour/stories.js
similarity index 100%
rename from src/components/Armour/stories.js
rename to src/components/Hull/Armour/stories.js
diff --git a/src/components/Screens/index.svelte b/src/components/Hull/Screens/index.svelte
similarity index 92%
rename from src/components/Screens/index.svelte
rename to src/components/Hull/Screens/index.svelte
index 9ad509d..00c69fe 100644
--- a/src/components/Screens/index.svelte
+++ b/src/components/Hull/Screens/index.svelte
@@ -1,5 +1,5 @@
-
+
@@ -8,6 +8,7 @@
+
@@ -34,4 +35,8 @@
input {
width: 3em;
}
+ div {
+ display: flex;
+ gap: 2em;
+ }
diff --git a/src/components/Hull.svelte b/src/components/Hull/index.svelte
similarity index 97%
rename from src/components/Hull.svelte
rename to src/components/Hull/index.svelte
index 07c6366..4d34136 100644
--- a/src/components/Hull.svelte
+++ b/src/components/Hull/index.svelte
@@ -39,4 +39,5 @@ const dispatch = createEventDispatcher();
diff --git a/src/components/Propulsion/index.svelte b/src/components/Propulsion/index.svelte
index ee84b36..20a2a08 100644
--- a/src/components/Propulsion/index.svelte
+++ b/src/components/Propulsion/index.svelte
@@ -1,10 +1,10 @@
-
-
+ $: ship_change(dux.actions.set_adfc(rating));
+