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