diff --git a/gui/src/components/mainInput/Lump/sections/RulesSection.tsx b/gui/src/components/mainInput/Lump/sections/RulesSection.tsx index 6341b0670..7a3772b04 100644 --- a/gui/src/components/mainInput/Lump/sections/RulesSection.tsx +++ b/gui/src/components/mainInput/Lump/sections/RulesSection.tsx @@ -1,10 +1,12 @@ import { parseConfigYaml } from "@continuedev/config-yaml"; -import { PencilSquareIcon } from "@heroicons/react/24/outline"; +import { PencilIcon } from "@heroicons/react/24/outline"; import { useContext, useMemo } from "react"; import { useSelector } from "react-redux"; +import { defaultBorderRadius, vscCommandCenterActiveBorder } from "../../.."; import { useAuth } from "../../../../context/Auth"; import { IdeMessengerContext } from "../../../../context/IdeMessenger"; import { RootState } from "../../../../redux/store"; +import { fontSize } from "../../../../util"; import HeaderButtonWithToolTip from "../../../gui/HeaderButtonWithToolTip"; interface RuleCardProps { @@ -23,16 +25,35 @@ const RuleCard: React.FC = ({ index, rule, onClick, title }) => { }; return ( -
+
-
{title}
-
+
+ {title} +
+
{truncateRule(rule)}
- +