mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(core): ai affine label alignment (#11952)
before  after  <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Updated the visual structure of the assistant avatar for a cleaner appearance. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -10,16 +10,14 @@ const AffineAvatarIcon = AiIcon({
|
||||
|
||||
export class AssistantAvatar extends ShadowlessElement {
|
||||
static override styles = css`
|
||||
.assistant-avatar {
|
||||
chat-assistant-avatar {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
`;
|
||||
protected override render() {
|
||||
return html`<span class="assistant-avatar"
|
||||
>${AffineAvatarIcon} AFFiNE AI</span
|
||||
>`;
|
||||
return html`${AffineAvatarIcon} AFFiNE AI`;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user