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

Co-authored-by: Mirone <Saul-Mirone@outlook.com>
This commit is contained in:
Oleg
2025-03-15 11:15:56 +01:00
committed by GitHub
parent 1d4ee1e383
commit 8f9e5bf0aa
2 changed files with 10 additions and 0 deletions

View File

@@ -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 => {

View File

@@ -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%;