Skip to content

Scheduling infrastructure for absolutely everyone.

more layout changes to /integrations (#914)

Peer Richelsen6f204ca52144
diff --git a/components/List.tsx b/components/List.tsx
index 3e53280ccf8..950d8e9f5fb 100644
--- a/components/List.tsx
+++ b/components/List.tsx
@@ -65,7 +65,7 @@ export function ListItemText<TComponent extends keyof JSX.IntrinsicElements = "s
component,
{
...passThroughProps,
- className: classNames("text-sm text-gray-500", props.className),
+ className: classNames("text-sm text-gray-500 truncate", props.className),
},
props.children
);
diff --git a/pages/integrations/index.tsx b/pages/integrations/index.tsx
index cf7a8969728..fe6170af1a0 100644
--- a/pages/integrations/index.tsx
+++ b/pages/integrations/index.tsx
@@ -172,7 +172,7 @@ function ConnectOrDisconnectIntegrationButton(props: {
}
if (!props.installed) {
return (
- <div className="h-12 -mt-1">
+ <div className="h-12 -mt-1 truncate">
<Alert severity="warning" title="Not installed" />
</div>
);
@@ -193,7 +193,7 @@ function IntegrationListItem(props: {
<ListItem expanded={!!props.children} className={classNames("flex-col")}>
<div className={classNames("flex flex-1 space-x-2 w-full p-4 items-center")}>
<Image width={40} height={40} src={`/${props.imageSrc}`} alt={props.title} />
- <div className="pl-2 flex-grow">
+ <div className="pl-2 flex-grow truncate">
<ListItemTitle component="h3">{props.title}</ListItemTitle>
<ListItemText component="p">{props.description}</ListItemText>
</div>