mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-10 22:52:34 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
b91e10e43d
7 changed files with 11 additions and 10 deletions
|
|
@ -2,7 +2,6 @@ import {fetchPost} from "../util/fetch";
|
|||
import {Dialog} from "../dialog";
|
||||
import {highlightRender} from "../protyle/markdown/highlightRender";
|
||||
import {isMobile} from "../util/functions";
|
||||
import {Constants} from "../constants";
|
||||
|
||||
export const openChangelog = () => {
|
||||
fetchPost("/api/system/getChangelog", {}, (response) => {
|
||||
|
|
@ -10,7 +9,7 @@ export const openChangelog = () => {
|
|||
return;
|
||||
}
|
||||
const dialog = new Dialog({
|
||||
title: `v${Constants.SIYUAN_VERSION} ${window.siyuan.languages.update}`,
|
||||
title: `✨ ${window.siyuan.languages.changelog}`,
|
||||
width: isMobile() ? "80vw" : "768px",
|
||||
content: `<div style="overflow:auto;height: ${isMobile() ? "80" : "70"}vh;" class="b3-dialog__content b3-typography b3-typography--default">${response.data.html}</div>`
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue