mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-04-25 07:52:38 -05:00
Use the long name for Splatfest teams
This commit is contained in:
parent
1249643445
commit
79dd022159
|
|
@ -258,20 +258,17 @@ body.has-modal #main {
|
|||
position: relative;
|
||||
|
||||
.labels {
|
||||
.alpha, .bravo {
|
||||
@extend .font-splatoon1;
|
||||
@extend .title-color;
|
||||
@extend .is-size-5;
|
||||
position: absolute;
|
||||
bottom: 0.25rem;
|
||||
}
|
||||
@extend .font-splatoon1;
|
||||
@extend .title-color;
|
||||
@extend .is-size-5;
|
||||
position: absolute;
|
||||
bottom: 0.25rem;
|
||||
left: 0.25rem;
|
||||
right: 0.25rem;
|
||||
white-space: pre-line;
|
||||
|
||||
.alpha {
|
||||
left: 0.25rem;
|
||||
}
|
||||
|
||||
.bravo {
|
||||
right: 0.25rem;
|
||||
.column {
|
||||
margin-top: auto;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,14 +11,9 @@
|
|||
<img :src="image" />
|
||||
</div>
|
||||
|
||||
<div class="labels">
|
||||
<div class="alpha">
|
||||
{{ teamNames.alpha }}
|
||||
</div>
|
||||
|
||||
<div class="bravo">
|
||||
{{ teamNames.bravo }}
|
||||
</div>
|
||||
<div class="columns is-gapless labels">
|
||||
<div class="column" v-text="teamNames.alpha"></div>
|
||||
<div class="column has-text-right" v-text="teamNames.bravo"></div>
|
||||
</div>
|
||||
|
||||
<SplatfestResultsBox :festival="festival" :results="results" v-if="results && !screenshotMode" />
|
||||
|
|
@ -113,8 +108,8 @@ export default {
|
|||
},
|
||||
teamNames() {
|
||||
return {
|
||||
alpha: this.$t(`splatnet.festivals.${this.festival.festival_id}.names.alpha_short`, this.festival.names.alpha_short),
|
||||
bravo: this.$t(`splatnet.festivals.${this.festival.festival_id}.names.bravo_short`, this.festival.names.bravo_short),
|
||||
alpha: this.$t(`splatnet.festivals.${this.festival.festival_id}.names.alpha_long`, this.festival.names.alpha_long),
|
||||
bravo: this.$t(`splatnet.festivals.${this.festival.festival_id}.names.bravo_long`, this.festival.names.bravo_long),
|
||||
};
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user