Skip to content

Commit

Permalink
chore(blocks): update panel overlay shadow style (#7829)
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Aug 5, 2024
1 parent 61c83ef commit f301c6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/blocks/src/_common/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const FONT_XS = unsafeCSS(`
export const PANEL_BASE_COLORS = unsafeCSS(`
color: var(--affine-icon-color);
background: var(--affine-background-overlay-panel-color);
box-shadow: var(--affine-shadow-4);
box-shadow: var(--affine-overlay-shadow);
`);

export const PANEL_BASE = unsafeCSS(`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class AffineAIPanelWidget extends WidgetComponent {
border-radius: var(--8, 8px);
border: 1px solid var(--affine-border-color);
background: var(--affine-background-overlay-panel-color);
box-shadow: var(--affine-shadow-4);
box-shadow: var(--affine-overlay-shadow);
position: absolute;
width: max-content;
Expand Down

1 comment on commit f301c6e

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Size Report

Bundles

Entry Size Gzip Brotli

Packages

Name Size Gzip Brotli
blocks 3.71 MB (+1.43 kB) 1.05 MB (+283 B) 813 kB (-225 B)
editor 84 B 89 B 63 B
store 83 B 88 B 63 B
inline 84 B 88 B 63 B

Please sign in to comment.