embedではデフォルトのコンテキストメニューを出すように
This commit is contained in:
parent
d222c7e824
commit
8cdb6bbb9d
|
@ -667,6 +667,11 @@ function loadConversation() {
|
||||||
height: 58px;
|
height: 58px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.embeddedNote .noteHeaderAvatar {
|
||||||
|
width: 50px;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
.noteHeaderBody {
|
.noteHeaderBody {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -633,6 +633,8 @@ export function popupMenu(items: MenuItem[], src?: HTMLElement | EventTarget | n
|
||||||
}
|
}
|
||||||
|
|
||||||
export function contextMenu(items: MenuItem[], ev: MouseEvent): Promise<void> {
|
export function contextMenu(items: MenuItem[], ev: MouseEvent): Promise<void> {
|
||||||
|
if (isEmbedPage()) return Promise.resolve();
|
||||||
|
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
let dispose;
|
let dispose;
|
||||||
|
|
Loading…
Reference in a new issue