A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix(ui): prevent icon/name wrapping in custom widgets table
Thomas Camlong39900090b3b8
diff --git a/apps/nextjs/src/app/[locale]/manage/custom-widgets/_custom-widget-list.tsx b/apps/nextjs/src/app/[locale]/manage/custom-widgets/_custom-widget-list.tsxindex 031b19c20..7732dcc33 100644--- a/apps/nextjs/src/app/[locale]/manage/custom-widgets/_custom-widget-list.tsx+++ b/apps/nextjs/src/app/[locale]/manage/custom-widgets/_custom-widget-list.tsx@@ -57,13 +57,13 @@ export const CustomWidgetList = ({ definitions }: CustomWidgetListProps) => {{definitions.map((def) => (<Table.Tr key={def.id} style={{ opacity: def.enabled ? undefined : 0.5 }}><Table.Td>- <Group gap="xs">+ <Group gap="xs" wrap="nowrap">{def.iconUrl ? (<Avatar size={20} radius="sm" src={def.iconUrl} styles={{ image: { objectFit: "contain" } }} />) : (<IconApi size={16} />)}- <Text size="sm" fw={500} lineClamp={1} c={def.enabled ? undefined : "dimmed"}>+ <Text size="sm" fw={500} lineClamp={1} c={def.enabled ? undefined : "dimmed"} style={{ minWidth: 0 }}>{def.name}</Text></Group>