1
0
mirror of https://github.com/kihashi/stardew_community_checklist.git synced 2025-10-19 08:03:17 +00:00

Added a text decoration to completed bundles.

Closes #52
This commit is contained in:
John Cleaver 2016-04-15 19:54:11 -04:00
parent 239f98c3ef
commit ecc0d442c6
2 changed files with 9 additions and 3 deletions

View File

@ -220,9 +220,11 @@
<a class="panel-block" href="#" v-for="bundle in static.bundles | filterBy active_room in 'room'"
id="panel-bundle-{{ bundle.id }}" v-bind:class="[bundle.id == active_bundle ? 'is-active' : '']"
v-on:click.stop="change_bundle(bundle.id)">
<span class="panel-icon">
<i class="fa fa-archive"></i>
</span> {{ bundle.name }}
</span>
<span v-bind:class="[isBundleComplete(bundle.id) ? 'bundle-complete' : '']">{{ bundle.name }}</span>
</a>
</nav>
</div>

View File

@ -18,3 +18,7 @@
.button{
flex-wrap: wrap;
}
.bundle-complete {
text-decoration: line-through;
}