mirror of
https://github.com/misenhower/splatoon2.ink.git
synced 2026-08-24 11:24:16 -05:00
Fix results banner in the Twitter screenshot
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
</div>
|
||||
|
||||
<div class="has-text-centered is-size-5 title-color festival-period-container">
|
||||
<div v-if="!showingResults" class="festival-period" :style="{ 'background-color': festival.colors.middle.css_rgb }">
|
||||
<div v-if="!showingResultsBar" class="festival-period" :style="{ 'background-color': festival.colors.middle.css_rgb }">
|
||||
<template v-if="!screenshotMode">
|
||||
<span class="nowrap">
|
||||
{{ festival.times.start | date(dateOptions) }}
|
||||
@@ -111,6 +111,9 @@ export default {
|
||||
showingResults() {
|
||||
return this.festival.results && !this.screenshotMode && !this.historyMode;
|
||||
},
|
||||
showingResultsBar() {
|
||||
return this.showingResults || (this.festival.results && this.screenshotMode);
|
||||
},
|
||||
dateOptions() {
|
||||
if (this.historyMode)
|
||||
return { year: 'numeric' };
|
||||
|
||||
Reference in New Issue
Block a user