mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-26 10:13:48 +02:00
add midnight theme and fix some styles
This commit is contained in:
@@ -16,7 +16,6 @@ export const createColumns = ({
|
||||
header: () => null,
|
||||
size: 55,
|
||||
enableSorting: false,
|
||||
enableResizing: false,
|
||||
cell: ({ row }) => {
|
||||
const original = row.original;
|
||||
return (
|
||||
@@ -68,7 +67,9 @@ export const createColumns = ({
|
||||
cell: ({ row }) => {
|
||||
const original = row.original;
|
||||
const useColors = !!(randomUserColours?.value ?? randomUserColours);
|
||||
const colorStyle = useColors ? { color: original?.user?.$userColour } : null;
|
||||
const colorStyle = useColors
|
||||
? { color: original?.user?.$userColour }
|
||||
: null;
|
||||
|
||||
return (
|
||||
<span
|
||||
@@ -78,7 +79,9 @@ export const createColumns = ({
|
||||
onShowUser?.(original?.userId);
|
||||
}}
|
||||
>
|
||||
<span style={colorStyle}>{original?.user?.displayName}</span>
|
||||
<span style={colorStyle}>
|
||||
{original?.user?.displayName}
|
||||
</span>
|
||||
</span>
|
||||
);
|
||||
}
|
||||
@@ -87,7 +90,9 @@ export const createColumns = ({
|
||||
accessorKey: 'managerNotes',
|
||||
header: () => t('dialog.group_member_moderation.notes'),
|
||||
cell: ({ row }) => (
|
||||
<span onClick={(e) => e.stopPropagation()}>{row.original?.managerNotes}</span>
|
||||
<span onClick={(e) => e.stopPropagation()}>
|
||||
{row.original?.managerNotes}
|
||||
</span>
|
||||
)
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user