Skip to content

Commit

Permalink
chore(editor): update shadow of ask-ai-panel (#10336)
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Sun committed Feb 21, 2025
1 parent adcc6b5 commit f79324b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import {
scrollbarStyle,
} from '@blocksuite/affine/blocks';
import { WithDisposable } from '@blocksuite/affine/global/utils';
import { css, html, LitElement } from 'lit';
import { cssVar } from '@toeverything/theme';
import { css, html, LitElement, unsafeCSS } from 'lit';
import { property } from 'lit/decorators.js';
import { styleMap } from 'lit/directives/style-map.js';

Expand All @@ -21,7 +22,7 @@ export class AskAIPanel extends WithDisposable(LitElement) {
max-height: 374px;
overflow-y: auto;
background: var(--affine-background-overlay-panel-color);
box-shadow: var(--affine-shadow-2);
box-shadow: ${unsafeCSS(cssVar('overlayPanelShadow'))};
border-radius: 8px;
z-index: var(--affine-z-index-popover);
scrollbar-gutter: stable;
Expand Down

0 comments on commit f79324b

Please sign in to comment.