Improve mobile usability #30

Merged
jacob1123 merged 14 commits from mobile-usability into master 2022-03-01 21:33:07 +01:00
Showing only changes of commit 18149eef8b - Show all commits

View File

@ -82,20 +82,16 @@ function getGroupState(group : {Name : string, Expand: boolean}) : boolean {
<table class="container col-lg-12" id="content">
<tr>
<th>Category</th>
<th></th>
<th></th>
<th>Leftover</th>
<th class="hidden md:block">Leftover</th>
<th>Assigned</th>
<th>Activity</th>
<th>Available</th>
</tr>
<tbody v-for="group in GroupsForMonth">
<a class="text-lg font-bold" @click="toggleGroup(group)">{{ (getGroupState(group) ? "" : "+") + " " + group.Name }}</a>
<tr><td><a class="text-lg font-bold" colspan="4" @click="toggleGroup(group)">{{ (getGroupState(group) ? "" : "+") + " " + group.Name }}</a></td></tr>
<tr v-for="category in GetCategories(group.Name)" v-if="getGroupState(group)">
<td>{{ category.Name }}</td>
<td></td>
<td></td>
<td class="text-right">
<td class="text-right hidden md:block">
<Currency :value="category.AvailableLastMonth" />
</td>
<td class="text-right">