add centering box

This commit is contained in:
Alex Holliday committed 2026-05-25 10:40:22 -07:00
1 parent 0e24bb7c94
commit 3a1a9bde4d
1 file changed
+10 -4
+10 -4
View File
@@ -1,5 +1,6 @@
import { ActionsMenu, type ActionMenuItem } from "@/Components/actions-menu";
import Typography from "@mui/material/Typography";
import Box from "@mui/material/Box";
import type { Header } from "@/Components/design-elements/Table";
import { Table, ColoredLabel } from "@/Components/design-elements";
import { Pagination } from "@/Components/design-elements/Table";
@@ -69,10 +70,15 @@ export const TagsTable = ({ tags, setSelectedTag }: TagsTableProps) => {
content: t("pages.tags.table.headers.appearance"),
render: (row) => {
return (
<ColoredLabel
text={row.name}
color={row.color}
/>
<Box
display="flex"
justifyContent="center"
>
<ColoredLabel
text={row.name}
color={row.color}
/>
</Box>
);
},
},