mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 01:49:51 +08:00
fix(editor): minor ui bugs (#10841)
Co-authored-by: Mirone <Saul-Mirone@outlook.com>
This commit is contained in:
@@ -185,6 +185,12 @@ export class LinkedDocPopover extends SignalWatcher(
|
|||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (event.key === 'Escape') {
|
||||||
|
this.context.close();
|
||||||
|
event.preventDefault();
|
||||||
|
event.stopPropagation();
|
||||||
|
return;
|
||||||
|
}
|
||||||
next();
|
next();
|
||||||
},
|
},
|
||||||
onInput: isComposition => {
|
onInput: isComposition => {
|
||||||
|
|||||||
@@ -5,6 +5,10 @@ import { css, html, unsafeCSS } from 'lit';
|
|||||||
import { property } from 'lit/decorators.js';
|
import { property } from 'lit/decorators.js';
|
||||||
|
|
||||||
const styles = css`
|
const styles = css`
|
||||||
|
affine-frame-panel {
|
||||||
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
frame-panel {
|
frame-panel {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user