diff --git a/src/components/tabs/NumberGeneratorTab.vue b/src/components/tabs/NumberGeneratorTab.vue
index a97d36e..ffb4136 100644
--- a/src/components/tabs/NumberGeneratorTab.vue
+++ b/src/components/tabs/NumberGeneratorTab.vue
@@ -23,9 +23,12 @@
WŁAŚCIWOŚCI SKŁADU
-
⇐ Dodaj lokomotywę na pierwsze miejsce listy, aby uwzględnić ją przy losowaniu składu!
+
+ ⇐ Dodaj lokomotywę na pierwsze miejsce listy, aby uwzględnić ją przy losowaniu składu!
+
@@ -285,13 +287,6 @@ export default defineComponent({
gap: 1em;
}
-hr {
- height: 3px;
- background-color: white;
- outline: none;
- margin: 0;
-}
-
.generator_warning {
background-color: $accentColor;
padding: 0.5em;
diff --git a/src/components/tabs/StockListTab.vue b/src/components/tabs/StockListTab.vue
index d491877..d01cc96 100644
--- a/src/components/tabs/StockListTab.vue
+++ b/src/components/tabs/StockListTab.vue
@@ -60,10 +60,11 @@
- Masa: {{ store.totalMass }}t - Długość:
+ Masa: {{ store.totalMass }}t (dopuszczalna:
+ {{ store.acceptableMass ? store.acceptableMass + 't' : '-' }} ) - Długość:
{{ store.totalLength }}m
- - vMax: {{ store.maxStockSpeed }} km/h - tMax:
- {{ store.acceptableMass || '-' }}t
+ - vMax: {{ store.maxStockSpeed }} km/h
diff --git a/src/styles/tab.scss b/src/styles/tab.scss
index 74d5a0f..7c1a8bb 100644
--- a/src/styles/tab.scss
+++ b/src/styles/tab.scss
@@ -48,8 +48,6 @@
grid-template-columns: repeat(3, 1fr);
button {
- background-color: #131313;
-
padding: 0.5em;
font-weight: bold;
}
@@ -60,6 +58,13 @@
}
}
+hr {
+ height: 3px;
+ background-color: white;
+ outline: none;
+ margin: 0;
+}
+
@media only screen and (max-width: 470px) {
.tab_attributes {
label {
diff --git a/src/utils/vehicleUtils.ts b/src/utils/vehicleUtils.ts
index 132cffd..2076f52 100644
--- a/src/utils/vehicleUtils.ts
+++ b/src/utils/vehicleUtils.ts
@@ -130,7 +130,7 @@ export function acceptableMass(state: IStore) {
// Towarowy / inny elektr.
if (/^EU/.test(activeLocomotiveType)) return 2000;
if (/^ET/.test(activeLocomotiveType)) return 4000;
- if (/^EP/.test(activeLocomotiveType)) return 0;
+ if (/^EP/.test(activeLocomotiveType)) return 650;
return 0;
}