parent
392c8e8da4
commit
6f204ca521
2 changed files with 3 additions and 3 deletions
|
@ -65,7 +65,7 @@ export function ListItemText<TComponent extends keyof JSX.IntrinsicElements = "s
|
||||||
component,
|
component,
|
||||||
{
|
{
|
||||||
...passThroughProps,
|
...passThroughProps,
|
||||||
className: classNames("text-sm text-gray-500", props.className),
|
className: classNames("text-sm text-gray-500 truncate", props.className),
|
||||||
},
|
},
|
||||||
props.children
|
props.children
|
||||||
);
|
);
|
||||||
|
|
|
@ -172,7 +172,7 @@ function ConnectOrDisconnectIntegrationButton(props: {
|
||||||
}
|
}
|
||||||
if (!props.installed) {
|
if (!props.installed) {
|
||||||
return (
|
return (
|
||||||
<div className="h-12 -mt-1">
|
<div className="h-12 -mt-1 truncate">
|
||||||
<Alert severity="warning" title="Not installed" />
|
<Alert severity="warning" title="Not installed" />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -193,7 +193,7 @@ function IntegrationListItem(props: {
|
||||||
<ListItem expanded={!!props.children} className={classNames("flex-col")}>
|
<ListItem expanded={!!props.children} className={classNames("flex-col")}>
|
||||||
<div className={classNames("flex flex-1 space-x-2 w-full p-4 items-center")}>
|
<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} />
|
<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>
|
<ListItemTitle component="h3">{props.title}</ListItemTitle>
|
||||||
<ListItemText component="p">{props.description}</ListItemText>
|
<ListItemText component="p">{props.description}</ListItemText>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue