fix: refine platform column layout (#1604)

This commit is contained in:
pa
2026-02-10 20:15:27 +09:00
parent ac74a1a360
commit 002990fbbc
+3 -7
View File
@@ -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;