mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-12 07:32:34 +01:00
🚨
This commit is contained in:
parent
0fe6759bde
commit
5987b0cea7
7 changed files with 21 additions and 21 deletions
|
|
@ -365,7 +365,7 @@ export const globalShortcut = () => {
|
|||
const currentType = currentLiElement.getAttribute("data-type");
|
||||
if (currentType) {
|
||||
if (currentType === "riffCard") {
|
||||
openCard()
|
||||
openCard();
|
||||
} else {
|
||||
getDockByType(currentType as TDockType).toggleModel(currentType as TDockType, true);
|
||||
}
|
||||
|
|
@ -931,7 +931,7 @@ const dialogArrow = (element: HTMLElement, event: KeyboardEvent) => {
|
|||
const currentType = currentLiElement.getAttribute("data-type");
|
||||
if (currentType) {
|
||||
if (currentType === "riffCard") {
|
||||
openCard()
|
||||
openCard();
|
||||
} else {
|
||||
getDockByType(currentType as TDockType).toggleModel(currentType as TDockType, true);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,8 +12,8 @@ export const openChangelog = () => {
|
|||
const dialog = new Dialog({
|
||||
title: `v${Constants.SIYUAN_VERSION} ${window.siyuan.languages.update}`,
|
||||
width: isMobile() ? "80vw" : "520px",
|
||||
content: `<div class="b3-dialog__content b3-typography b3-typography--default">${response.data.html}</div>`
|
||||
content: `<div style="overflow:auto;height: ${isMobile() ? "80" : "70"}vh;" class="b3-dialog__content b3-typography b3-typography--default">${response.data.html}</div>`
|
||||
});
|
||||
highlightRender(dialog.element);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue