mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
fix: refine platform column layout (#1604)
This commit is contained in:
@@ -290,10 +290,6 @@ export const createColumns = ({
|
|||||||
id: 'platform',
|
id: 'platform',
|
||||||
header: () => t('table.playerList.platform'),
|
header: () => t('table.playerList.platform'),
|
||||||
size: 90,
|
size: 90,
|
||||||
meta: {
|
|
||||||
stretch: true
|
|
||||||
},
|
|
||||||
minSize: 20,
|
|
||||||
enableSorting: false,
|
enableSorting: false,
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const userRef = row.original?.ref;
|
const userRef = row.original?.ref;
|
||||||
@@ -302,11 +298,11 @@ export const createColumns = ({
|
|||||||
|
|
||||||
const platformIcon =
|
const platformIcon =
|
||||||
platform === 'standalonewindows' ? (
|
platform === 'standalonewindows' ? (
|
||||||
<Monitor class="h-4 w-4 x-tag-platform-pc" />
|
<Monitor class="h-4 w-4 shrink-0 x-tag-platform-pc" />
|
||||||
) : platform === 'android' ? (
|
) : platform === 'android' ? (
|
||||||
<Smartphone class="h-4 w-4 x-tag-platform-quest" />
|
<Smartphone class="h-4 w-4 shrink-0 x-tag-platform-quest" />
|
||||||
) : platform === 'ios' ? (
|
) : platform === 'ios' ? (
|
||||||
<Apple class="h-4 w-4 x-tag-platform-ios" />
|
<Apple class="h-4 w-4 shrink-0 x-tag-platform-ios" />
|
||||||
) : platform ? (
|
) : platform ? (
|
||||||
<span>{String(platform)}</span>
|
<span>{String(platform)}</span>
|
||||||
) : null;
|
) : null;
|
||||||
|
|||||||
Reference in New Issue
Block a user