mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix thead cols nums and tbody nums
This commit is contained in:
parent
ed301b6dd2
commit
9ce153ca0c
3 changed files with 11 additions and 7 deletions
|
|
@ -1351,8 +1351,12 @@ body {
|
|||
@apply appearance-none block w-full col-span-12 grid grid-cols-12;
|
||||
}
|
||||
|
||||
.table-header-row {
|
||||
@apply appearance-none block col-span-12 grid grid-cols-12;
|
||||
}
|
||||
|
||||
.table-header-item {
|
||||
@apply appearance-none block dark:text-gray-300 pb-1 text-sm font-bold m-0 border-b border-gray-400;
|
||||
@apply appearance-none block dark:text-gray-300 pb-1 text-left text-sm font-bold m-0 border-b border-gray-400;
|
||||
}
|
||||
|
||||
.table-content {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -186,11 +186,11 @@ onMounted(() => {
|
|||
class="table-header"
|
||||
:style="{ paddingRight: table.overflow }"
|
||||
>
|
||||
<tr
|
||||
v-for="(head, id) in props.header"
|
||||
:class="['table-header-item', `col-span-${props.positions[id]}`]"
|
||||
>
|
||||
<th>
|
||||
<tr class="table-header-row">
|
||||
<th
|
||||
v-for="(head, id) in props.header"
|
||||
:class="['table-header-item', `col-span-${props.positions[id]}`]"
|
||||
>
|
||||
{{ $t(head, head) }}
|
||||
</th>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Reference in a new issue