mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
adjust widget header padding and table styles for better display
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
</DropdownMenu>
|
||||
</WidgetHeader>
|
||||
|
||||
<div class="min-h-0 flex-1 overflow-y-auto" ref="listRef">
|
||||
<Table v-if="filteredData.length" class="is-compact-table">
|
||||
<div class="min-h-0 flex-1 overflow-y-auto overflow-x-hidden" ref="listRef">
|
||||
<Table v-if="filteredData.length" class="is-compact-table table-fixed">
|
||||
<TableBody>
|
||||
<TableRow
|
||||
v-for="(item, index) in filteredData"
|
||||
@@ -43,7 +43,7 @@
|
||||
<TableCell v-if="showType" class="w-16 text-[11px] text-muted-foreground">
|
||||
{{ item.type }}
|
||||
</TableCell>
|
||||
<TableCell class="truncate">
|
||||
<TableCell class="max-w-0 truncate">
|
||||
<template v-if="item.type === 'GPS'">
|
||||
<MapPin class="mr-1 inline-block h-3.5 w-3.5 shrink-0 text-muted-foreground" />
|
||||
<span class="cursor-pointer" @click="openUser(item.userId)">{{
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
</DropdownMenu>
|
||||
</WidgetHeader>
|
||||
|
||||
<div class="min-h-0 flex-1 overflow-y-auto">
|
||||
<Table v-if="filteredData.length" class="is-compact-table">
|
||||
<div class="min-h-0 flex-1 overflow-y-auto overflow-x-hidden">
|
||||
<Table v-if="filteredData.length" class="is-compact-table table-fixed">
|
||||
<TableBody>
|
||||
<TableRow
|
||||
v-for="(item, index) in filteredData"
|
||||
@@ -40,7 +40,7 @@
|
||||
<span>{{ formatTime(item.created_at) }}</span>
|
||||
</TooltipWrapper>
|
||||
</TableCell>
|
||||
<TableCell class="truncate">
|
||||
<TableCell class="max-w-0 truncate">
|
||||
<template v-if="item.type === 'Location'">
|
||||
<MapPin class="mr-1 inline-block h-3.5 w-3.5 shrink-0 text-muted-foreground" />
|
||||
<Location
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="group/header flex shrink-0 items-center justify-between border-b px-2.5 py-1.5">
|
||||
<div class="group/header flex shrink-0 items-center justify-between border-b px-2.5 py-0">
|
||||
<div
|
||||
class="flex cursor-pointer items-center gap-1.5 text-xs font-semibold text-muted-foreground transition-colors hover:text-foreground"
|
||||
@click="navigateToPage">
|
||||
|
||||
Reference in New Issue
Block a user