chore(editor): update shadow of ask-ai-panel (#10336)
Close [PD-2343](https://linear.app/affine-design/issue/PD-2343/[ui]-ai-面板-shadow-改为-overlaypanelshadow)
This commit is contained in:
@@ -5,7 +5,8 @@ import {
|
|||||||
scrollbarStyle,
|
scrollbarStyle,
|
||||||
} from '@blocksuite/affine/blocks';
|
} from '@blocksuite/affine/blocks';
|
||||||
import { WithDisposable } from '@blocksuite/affine/global/utils';
|
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 { property } from 'lit/decorators.js';
|
||||||
import { styleMap } from 'lit/directives/style-map.js';
|
import { styleMap } from 'lit/directives/style-map.js';
|
||||||
|
|
||||||
@@ -21,7 +22,7 @@ export class AskAIPanel extends WithDisposable(LitElement) {
|
|||||||
max-height: 374px;
|
max-height: 374px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background: var(--affine-background-overlay-panel-color);
|
background: var(--affine-background-overlay-panel-color);
|
||||||
box-shadow: var(--affine-shadow-2);
|
box-shadow: ${unsafeCSS(cssVar('overlayPanelShadow'))};
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
z-index: var(--affine-z-index-popover);
|
z-index: var(--affine-z-index-popover);
|
||||||
scrollbar-gutter: stable;
|
scrollbar-gutter: stable;
|
||||||
|
|||||||
Reference in New Issue
Block a user