Merge pull request #3672 from bluewave-labs/fix/tag-apperance-column

fix: add centering box for Tag labels
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-05-25 10:42:43 -07:00
commit ef8a8016df
1 file changed
+10 -4
+10 -4
View File
@@ -1,5 +1,6 @@
import { ActionsMenu, type ActionMenuItem } from "@/Components/actions-menu"; import { ActionsMenu, type ActionMenuItem } from "@/Components/actions-menu";
import Typography from "@mui/material/Typography"; import Typography from "@mui/material/Typography";
import Box from "@mui/material/Box";
import type { Header } from "@/Components/design-elements/Table"; import type { Header } from "@/Components/design-elements/Table";
import { Table, ColoredLabel } from "@/Components/design-elements"; import { Table, ColoredLabel } from "@/Components/design-elements";
import { Pagination } from "@/Components/design-elements/Table"; import { Pagination } from "@/Components/design-elements/Table";
@@ -69,10 +70,15 @@ export const TagsTable = ({ tags, setSelectedTag }: TagsTableProps) => {
content: t("pages.tags.table.headers.appearance"), content: t("pages.tags.table.headers.appearance"),
render: (row) => { render: (row) => {
return ( return (
<ColoredLabel <Box
text={row.name} display="flex"
color={row.color} justifyContent="center"
/> >
<ColoredLabel
text={row.name}
color={row.color}
/>
</Box>
); );
}, },
}, },