Skip to content

Commit

Permalink
Improve Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
flvndvd committed Jan 4, 2025
1 parent 5135edb commit 301980a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions front/components/poke/plugins/PluginList.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Tooltip } from "@dust-tt/sparkle";
import { ScrollArea, Tooltip } from "@dust-tt/sparkle";
import type { PluginWorkspaceResource } from "@dust-tt/types";
import React, { useState } from "react";

Expand Down Expand Up @@ -62,7 +62,12 @@ export function PluginList({
<div className="flex justify-between gap-3 rounded-t-lg bg-slate-300 p-4">
<h2 className="text-md font-bold">Plugins :</h2>
</div>
<div className="flex w-full flex-row items-start gap-3 p-4">

<div
className="grid w-full gap-3 p-4"
// 11rem is the fixed width of the card.
style={{ gridTemplateColumns: "repeat(auto-fill, minmax(11rem, 1fr))" }}
>
{plugins.map((plugin) => (
<Tooltip
key={plugin.id}
Expand Down

0 comments on commit 301980a

Please sign in to comment.