Skip to content

Commit 3945029

Browse files
fix: remove content rounded corners when used in iframe
1 parent 3180abe commit 3945029

File tree

1 file changed

+3
-1
lines changed
  • typescript-sdk/apps/dojo/src/app/[integrationId]/feature

1 file changed

+3
-1
lines changed

typescript-sdk/apps/dojo/src/app/[integrationId]/feature/layout.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,11 @@ export default function FeatureLayout({ children, params }: Props) {
6161

6262
return (
6363
<div className={cn(
64-
"bg-white rounded-lg w-full h-full overflow-hidden",
64+
"bg-white w-full h-full overflow-hidden",
6565
// if used in iframe, match background to chat background color, otherwise, use white
6666
sidebarHidden && "bg-(--copilot-kit-background-color)",
67+
// if not used in iframe, round the corners of the content area
68+
!sidebarHidden && "rounded-lg",
6769
)}>
6870
<div className="flex flex-col h-full overflow-auto">
6971
{content}

0 commit comments

Comments
 (0)