Skip to content

Commit

Permalink
fix(page): the style of editor-host does not take effect (toeverythin…
Browse files Browse the repository at this point in the history
  • Loading branch information
wumo1016 authored Feb 28, 2024
1 parent 4a739a5 commit 2e0b9da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/CLA.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,4 @@ Example:
- Adithyan, @golok727, 2024/02/10
- zkwolf, @zkwolf, 2024/2/19
- Yuntian Sun, @ununian, 2024/02/20
- wumo, @wumo1016, 2024/2/27
2 changes: 1 addition & 1 deletion packages/blocks/src/root-block/page/page-root-block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class PageRootBlockComponent extends BlockElement<
PageRootBlockWidgetName
> {
static override styles = css`
editor-host:has(* > affine-page-root) {
editor-host:has(> affine-page-root, * > affine-page-root) {
display: block;
height: 100%;
}
Expand Down

1 comment on commit 2e0b9da

@github-actions
Copy link

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
examples/basic 13.8 MB (+651 B) 2.86 MB (+91 B) 1.78 MB (+246 B)

Packages

Name Size Gzip Brotli
blocks 2.18 MB (+48 B) 507 kB (-5 B) 370 kB (+302 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.