Skip to content

Commit

Permalink
style: tweak the style (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
xingwanying authored Aug 22, 2024
2 parents 6552892 + 834c0c9 commit bcc1db1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"lottie-react": "^2.4.0",
"next": "14.0.1",
"openai": "^4.24.7",
"petercat-lui": "^0.1.20",
"petercat-lui": "^0.1.21",
"postcss": "^8.4.41",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
8 changes: 4 additions & 4 deletions client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8504,10 +8504,10 @@ path-type@^4.0.0:
resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b"
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==

petercat-lui@^0.1.20:
version "0.1.20"
resolved "https://registry.npmjs.org/petercat-lui/-/petercat-lui-0.1.20.tgz#3b38a0f946ff78f189f4d443505f55bd60f3cd2f"
integrity sha512-vpq24RW5wWqgGIXplJ+3KbjfFLnCXFvO8f2cp5TytL4WAKwtl6KwUhz6f66ZSQmkw3NxGLxXTC7e194/83GP2A==
petercat-lui@^0.1.21:
version "0.1.21"
resolved "https://registry.npmjs.org/petercat-lui/-/petercat-lui-0.1.21.tgz#c9959c779165511ccecf15e628f7c60356e54b72"
integrity sha512-mIsx/cHBw2ABIT8R+G6vXRaMqD8D9lGVm0PQ2I+Ncg7x6cfkY+now/JhCl9kaOwNHoOtMn1MyLonaTcxUtMThQ==
dependencies:
"@ant-design/icons" "^5.3.5"
"@ant-design/pro-chat" "^1.9.0"
Expand Down
2 changes: 1 addition & 1 deletion lui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "petercat-lui",
"version": "0.1.20",
"version": "0.1.21",
"description": "A react library developed with dumi",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions lui/src/Chat/components/ChatItemRender.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const ChatItemRender: FC<IProps> = ({
>
{direction === 'start' && (
<div
className="ant-avatar ant-avatar-circle ant-avatar-image w-[40px] h-[40px] rounded-full overflow-hidden"
className="ant-avatar ant-avatar-circle ant-avatar-image w-[40px] h-[40px] rounded-full overflow-hidden flex-shrink-0"
style={{
backgroundColor: `${avatar?.props?.avatar?.backgroundColor}`,
backgroundImage: `url(${avatar?.props?.avatar?.avatar})`,
Expand All @@ -36,7 +36,7 @@ const ChatItemRender: FC<IProps> = ({
}}
/>
)}
<div className="ant-pro-chat-list-item-message-container flex-1">
<div className="ant-pro-chat-list-item-message-container">
{title}
{content}
</div>
Expand Down

0 comments on commit bcc1db1

Please sign in to comment.