Skip to content

The Open Standard for Generative UI

Fix user message style for user-anchor-scroll (#136)

abhithesys91f43448537d
diff --git a/js/packages/react-ui/package.json b/js/packages/react-ui/package.json
index 6ff29fec7..535c50134 100644
--- a/js/packages/react-ui/package.json
+++ b/js/packages/react-ui/package.json
@@ -2,7 +2,7 @@
"type": "module",
"name": "@crayonai/react-ui",
"license": "MIT",
- "version": "0.7.13",
+ "version": "0.7.14",
"description": "Component library for Generative UI SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
diff --git a/js/packages/react-ui/src/components/CopilotShell/thread.scss b/js/packages/react-ui/src/components/CopilotShell/thread.scss
index db6fdcc50..2e5d423c0 100644
--- a/js/packages/react-ui/src/components/CopilotShell/thread.scss
+++ b/js/packages/react-ui/src/components/CopilotShell/thread.scss
@@ -62,6 +62,7 @@
border-radius: cssUtils.$rounded-2xl;
overflow-wrap: break-word;
max-width: 100%;
+ height: fit-content;
}
}
diff --git a/js/packages/react-ui/src/components/Shell/thread.scss b/js/packages/react-ui/src/components/Shell/thread.scss
index 9de532f23..fe190dc95 100644
--- a/js/packages/react-ui/src/components/Shell/thread.scss
+++ b/js/packages/react-ui/src/components/Shell/thread.scss
@@ -91,6 +91,7 @@ $center-align-spacing: calc(32px + cssUtils.$spacing-s);
border-radius: cssUtils.$rounded-2xl;
overflow-wrap: break-word;
max-width: 100%;
+ height: fit-content;
}
}