chore: inputs section button layout

This commit is contained in:
2025-03-08 20:24:28 +01:00
parent 01bb9f9c2e
commit 13a9baa175
3 changed files with 14 additions and 8 deletions
+8 -6
View File
@@ -1,9 +1,9 @@
<template>
<section class="inputs-section">
<div class="input_container">
<h2 class="input_header">{{ $t('inputs.title') }}</h2>
<div class="input_list type">
<label for="cargo-select">{{ $t('inputs.vehicles-title') }}</label>
<div class="vehicle-types locos">
<button
v-for="locoType in locomotiveTypeList"
@@ -35,6 +35,8 @@
</div>
<div class="input_list type">
<label for="cargo-select">{{ $t('inputs.carwagons-title') }}</label>
<div class="vehicle-types carwagons">
<button
v-for="carType in carTypeList"
@@ -235,10 +237,6 @@ export default defineComponent({
max-width: 380px;
}
.input_header {
margin-bottom: 1em;
}
button.btn--choice {
font-size: 0.9em;
padding: 0.3em 0.6em;
@@ -286,6 +284,10 @@ button.btn--choice {
gap: 0.25em;
margin-bottom: 0.5em;
button {
width: 100%;
}
}
@media screen and (max-width: global.$breakpointMd) {
+3 -1
View File
@@ -12,7 +12,9 @@
"title": "CHOOSE A VEHICLE",
"input-vehicle": "Choose a traction unit",
"input-carwagon": "Choose a carriage",
"cargo-title": "Cargo (only selected freight cars)",
"vehicles-title": "Traction units",
"carwagons-title": "Car wagons",
"cargo-title": "Available cargo",
"no-cargo-available": "no cargo available",
"cargo-empty": "empty",
"loco-electric": "ELECTR.",
+3 -1
View File
@@ -12,7 +12,9 @@
"title": "WYBIERZ POJAZD",
"input-vehicle": "Wybierz pojazd trakcyjny",
"input-carwagon": "Wybierz wagon",
"cargo-title": "Ładunek (tylko wybrane towarowe)",
"vehicles-title": "Pojazdy trakcyjne",
"carwagons-title": "Wagony",
"cargo-title": "Dostępne ładunki",
"no-cargo-available": "brak dostępnych ładunków",
"cargo-empty": "próżny",
"loco-electric": "ELEKTR.",