mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
miniaturki pojazdów c.d.
This commit is contained in:
@@ -62,13 +62,13 @@
|
||||
</section>
|
||||
|
||||
<section class="train-stats">
|
||||
<TrainThumbnail :name="train.locoType" />
|
||||
<TrainThumbnail :name="train.locoType" :onlyFirstSegment="true" />
|
||||
|
||||
<div class="text--grayed">
|
||||
{{ train.locoType }}
|
||||
<span v-if="train.stockList.length > 0">
|
||||
<span v-if="train.stockList.length > 1">
|
||||
• {{ $t('trains.cars') }}:
|
||||
<span class="count">{{ train.stockList.length }}</span>
|
||||
<span class="count">{{ train.stockList.length - 1 }}</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -107,7 +107,7 @@ export default defineComponent({
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
<style lang="scss">
|
||||
@import '../../styles/responsive.scss';
|
||||
@import '../../styles/badge.scss';
|
||||
|
||||
@@ -120,14 +120,14 @@ export default defineComponent({
|
||||
.train-stats {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-content: center;
|
||||
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
|
||||
gap: 0.25em;
|
||||
|
||||
img {
|
||||
margin: 0.5em auto;
|
||||
width: 12em;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user