add midnight theme and fix some styles

This commit is contained in:
pa
2026-01-18 15:45:36 +09:00
committed by Natsumi
parent 46750d3a0c
commit c326e4fd3e
37 changed files with 655 additions and 471 deletions

View File

@@ -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>
)
}
];