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 @@
- Wygenerowany numer pociągu: {{ trainNumber }} + Wygenerowany numer pociągu: {{ trainNumber }} + Wybierz obszary konstrukcyjne i kategorię!
+
+
@@ -99,7 +102,7 @@ const randomizeTrainNumber = () => { } .generated-number { - font-size: 1.5em; + font-size: 1.3em; font-weight: bold; margin: 0.5em 0; @@ -108,6 +111,8 @@ const randomizeTrainNumber = () => { } .tab_actions { + margin-top: 0.5em; + button { grid-column: 3; } diff --git a/src/components/tabs/StockGeneratorTab.vue b/src/components/tabs/StockGeneratorTab.vue index f7de857..b09fbc6 100644 --- a/src/components/tabs/StockGeneratorTab.vue +++ b/src/components/tabs/StockGeneratorTab.vue @@ -8,7 +8,9 @@

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! +
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; }