fix(editor): minor ui bugs (#10841)

Co-authored-by: Mirone <Saul-Mirone@outlook.com>
This commit is contained in:
OlegandMirone authored and GitHub committed 2025-03-15 19:15:56 +09:00
1 parent 1d4ee1e383
commit 8f9e5bf0aa
2 files changed
+10

No files matched your search

@@ -185,6 +185,12 @@ export class LinkedDocPopover extends SignalWatcher(
event.stopPropagation();
return;
}
if (event.key === 'Escape') {
this.context.close();
event.preventDefault();
event.stopPropagation();
return;
}
next();
},
onInput: isComposition => {
@@ -5,6 +5,10 @@ import { css, html, unsafeCSS } from 'lit';
import { property } from 'lit/decorators.js';
const styles = css`
affine-frame-panel {
flex-grow: 1;
}
frame-panel {
display: block;
width: 100%;