Skip to content

Commit

Permalink
fix ChatBoxFrame style
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpetrov committed Jul 25, 2023
1 parent 88741f3 commit ae2a02e
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 23 deletions.
6 changes: 4 additions & 2 deletions components/ChatBoxFrame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,11 @@ function ChatBoxFrame(props: { initConfig?: AgentInterfaceConfig }) {
? 'transparent'
: theme.palette.background.default,

'& .message-agent': {
'& .message-agent': {},
'& .message-human': {
backgroundColor: primaryColor,
// borderColor: primaryColor,
},
'& .message-human *': {
color: textColor,
},
})}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@next-auth/prisma-adapter": "^1.0.5",
"@next/bundle-analyzer": "^13.3.0",
"@pinecone-database/pinecone": "^0.0.11",
"@prisma/client": "^4.12.0",
"@prisma/client": "^4.13.0",
"@slack/web-api": "^6.8.1",
"@tailwindcss/typography": "^0.5.9",
"@tanstack/react-virtual": "3.0.0-beta.54",
Expand Down Expand Up @@ -132,7 +132,7 @@
"eslint-plugin-simple-import-sort": "^10.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.21",
"prisma": "^4.12.0",
"prisma": "^4.13.0",
"tailwindcss": "^3.2.7"
}
}
2 changes: 1 addition & 1 deletion packages/chat-bubble/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@databerry/chat-bubble",
"version": "1.0.42",
"version": "1.0.43",
"description": "Chaindesk.ai Chat Bubble Widget",
"main": "chat-bubble.js",
"scripts": {
Expand Down
37 changes: 19 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions tests/chat-bubble-widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@ <h1>CHATBUBBLE WIDGET</h1>
data-name="databerry-chat-bubble"
src="../dist/chat-bubble.js"
></script>

<!-- <script
src="https://cdn.jsdelivr.net/npm/@databerry/chat-bubble@1.0.42"
id="clgtujkqh022j0u0zw3ut8vk3"
data-name="databerry-chat-bubble" -->
></script>
</body>
</html>
1 change: 1 addition & 0 deletions widgets/chat-bubble.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import '../styles/globals.css';
import '../styles/preflight.css';

import createCache from '@emotion/cache';
import { CacheProvider } from '@emotion/react';
Expand Down

0 comments on commit ae2a02e

Please sign in to comment.