Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): ai images are not right-aligned (#11850)

yoyoyohamapife03292346b5
diff --git a/packages/frontend/core/src/blocksuite/ai/chat-panel/message/user.ts b/packages/frontend/core/src/blocksuite/ai/chat-panel/message/user.ts
index 25077e9574..3a5405a62a 100644
--- a/packages/frontend/core/src/blocksuite/ai/chat-panel/message/user.ts
+++ b/packages/frontend/core/src/blocksuite/ai/chat-panel/message/user.ts
@@ -17,6 +17,7 @@ export class ChatMessageUser extends WithDisposable(ShadowlessElement) {
.chat-content-images {
display: flex;
+ justify-content: flex-end;
.images-row {
margin-left: auto;