Skip to content

Commit

Permalink
fixes overflow content in gap-analysis list
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez committed Nov 16, 2023
1 parent 5f149e2 commit a2f7900
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/components/gap-analysis/item/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const Item: React.FC<ItemProps> = ({
delay={[400, null]}
offset={[-10, -34]}
>
<div className=" overflow-hidden overflow-ellipsis whitespace-nowrap pt-1 font-heading text-sm">
<div className="overflow-hidden overflow-ellipsis whitespace-nowrap pt-1 font-heading text-sm">
{name}
</div>
</Tooltip>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const GridSetupGAPAnalysis = (): JSX.Element => {
<Toolbar search={search} onSearch={onSearch} />

<div className="relative flex h-full flex-col overflow-hidden before:pointer-events-none before:absolute before:left-0 before:top-0 before:z-10 before:h-6 before:w-full before:bg-gradient-to-b before:from-gray-800 before:via-gray-800 after:pointer-events-none after:absolute after:bottom-0 after:left-0 after:z-10 after:h-6 after:w-full after:bg-gradient-to-t after:from-gray-800 after:via-gray-800">
<ScrollArea className="h-full pr-3">
<ScrollArea className="h-full">
<List search={search} />
</ScrollArea>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,8 @@ export const ScenariosPreGapAnalysisList = ({ search }: { search?: string }) =>
}, []);

return (
<div className="relative flex flex-grow flex-col">
<div className="relative">
<div className="absolute -top-1 left-0 z-10 h-6 w-full bg-gradient-to-b from-gray-800 via-gray-800" />

<div
className={cn({
'divide-y divide-dashed divide-black divide-opacity-20 bg-gray-800': true,
Expand Down Expand Up @@ -112,6 +111,7 @@ export const ScenariosPreGapAnalysisList = ({ search }: { search?: string }) =>
{...item}
highlighted={isHighlighted(item.id)}
onHighlight={() => toggleHighlight(item.id)}
className="w-full"
/>
</li>
);
Expand Down

0 comments on commit a2f7900

Please sign in to comment.