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: chat action button style (#7766)

donteatfriedrice352ceca94b2f
diff --git a/packages/frontend/core/src/blocksuite/presets/ai/_common/components/chat-action-list.ts b/packages/frontend/core/src/blocksuite/presets/ai/_common/components/chat-action-list.ts
index b7b608d298..5a5050f716 100644
--- a/packages/frontend/core/src/blocksuite/presets/ai/_common/components/chat-action-list.ts
+++ b/packages/frontend/core/src/blocksuite/presets/ai/_common/components/chat-action-list.ts
@@ -34,7 +34,7 @@ export class ChatActionList extends LitElement {
.action {
width: fit-content;
height: 32px;
- padding: 12px;
+ padding: 4px 18px;
box-sizing: border-box;
border-radius: 8px;
border: 1px solid var(--affine-border-color);
@@ -43,11 +43,12 @@ export class ChatActionList extends LitElement {
flex-direction: row;
align-items: center;
gap: 4px;
- font-size: 15px;
+ font-size: var(--affine-font-sm);
font-weight: 500;
color: var(--affine-text-primary-color);
cursor: pointer;
user-select: none;
+ line-height: 22px;
}
.action svg {
color: var(--affine-icon-color);