Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

Remove border radius

Mrunal Salunke24ca75cb3807
diff --git a/frontend/app/onboarding/_components/onboarding-card.tsx b/frontend/app/onboarding/_components/onboarding-card.tsx
index d75a1b838..0bb7f2a64 100644
--- a/frontend/app/onboarding/_components/onboarding-card.tsx
+++ b/frontend/app/onboarding/_components/onboarding-card.tsx
@@ -494,7 +494,7 @@ const OnboardingCard = ({
>
<div
className={cn(
- "flex items-center justify-center gap-2 w-8 h-8 rounded-md border",
+ "flex items-center justify-center gap-2 w-8 h-8 rounded-none border",
modelProvider === "anthropic"
? "bg-[#D97757]"
: "bg-muted",
@@ -527,7 +527,7 @@ const OnboardingCard = ({
>
<div
className={cn(
- "flex items-center justify-center gap-2 w-8 h-8 rounded-md border",
+ "flex items-center justify-center gap-2 w-8 h-8 rounded-none border",
modelProvider === "openai" ? "bg-white" : "bg-muted",
)}
>
@@ -557,7 +557,7 @@ const OnboardingCard = ({
>
<div
className={cn(
- "flex items-center justify-center gap-2 w-8 h-8 rounded-md border",
+ "flex items-center justify-center gap-2 w-8 h-8 rounded-none border",
modelProvider === "watsonx"
? "bg-[#1063FE]"
: "bg-muted",
@@ -590,7 +590,7 @@ const OnboardingCard = ({
>
<div
className={cn(
- "flex items-center justify-center gap-2 w-8 h-8 rounded-md border",
+ "flex items-center justify-center gap-2 w-8 h-8 rounded-none border",
modelProvider === "ollama"
? "bg-white"
: "bg-muted",
diff --git a/frontend/components/chat-renderer.tsx b/frontend/components/chat-renderer.tsx
index 840b934aa..18d6a16e8 100644
--- a/frontend/components/chat-renderer.tsx
+++ b/frontend/components/chat-renderer.tsx
@@ -278,7 +278,6 @@ export function ChatRenderer({
}}
animate={{
width: showLayout ? "100%" : "850px",
- borderRadius: showLayout ? "0" : "16px",
border: showLayout ? "0" : "1px solid hsl(var(--border))",
height: showLayout ? "100%" : "800px",
x: x,
diff --git a/frontend/components/ui/accordion.tsx b/frontend/components/ui/accordion.tsx
index 16330e30a..4a4abddb3 100644
--- a/frontend/components/ui/accordion.tsx
+++ b/frontend/components/ui/accordion.tsx
@@ -14,7 +14,7 @@ const AccordionItem = React.forwardRef<
>(({ className, ...props }, ref) => (
<AccordionPrimitive.Item
ref={ref}
- className={cn("border rounded-xl", className)}
+ className={cn("border rounded-none", className)}
{...props}
/>
));