Skip to content

Commit

Permalink
fix: cursor cannot be moved as expected in firefox (#6249)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flrande authored Feb 20, 2024
1 parent bc2769f commit f6344b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
10 changes: 10 additions & 0 deletions packages/blocks/src/page-block/doc/doc-page-block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ export class DocPageBlockComponent extends BlockElement<
DocPageBlockWidgetName
> {
static override styles = css`
editor-host:has(> affine-doc-page) {
display: block;
height: 100%;
}
affine-doc-page {
display: block;
height: 100%;
}
.affine-doc-page-block-container {
display: flex;
flex-direction: column;
Expand Down
9 changes: 0 additions & 9 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@
"skipLibCheck": true,
"incremental": true,
"composite": true,
"plugins": [
{
"name": "ts-lit-plugin",
"strict": true,
"rules": {
"no-incompatible-type-binding": "off",
},
},
],
},
"files": [],
"references": [
Expand Down

0 comments on commit f6344b4

Please sign in to comment.