This commit is contained in:
Vanessa 2022-06-06 11:31:22 +08:00
parent ce04cfcc7a
commit 0fafd470f8
2 changed files with 8 additions and 2 deletions

View file

@ -2,6 +2,7 @@
margin-bottom: 16px;
position: relative;
transition: transform 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms;
text-align: right;
&--hide {
transform: translate3d(calc(20vw + 48px), 0, 0);
@ -52,7 +53,9 @@
box-sizing: border-box;
box-shadow: 0 3px 5px -1px rgb(0 0 0 / 20%), 0 6px 10px 0 rgb(0 0 0 / 14%), 0 1px 18px 0 rgb(0 0 0 / 12%);
word-break: break-word;
width: 20vw;
max-width: 20vw;
text-align: left;
display: inline-block;
a {
color: var(--b3-theme-on-primary);

View file

@ -13,7 +13,7 @@ import {repos} from "./config/repos";
import {openFileById} from "./editor/util";
import {bootSync, downloadProgress, progressLoading, setTitle, transactionError} from "./dialog/processSystem";
import {promiseTransactions} from "./protyle/wysiwyg/transaction";
import {initMessage} from "./dialog/message";
import {initMessage, showMessage} from "./dialog/message";
class App {
constructor() {
@ -89,6 +89,9 @@ class App {
}
setTitle(window.siyuan.languages.siyuanNote);
initMessage();
showMessage("ddd", 0)
showMessage("123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123", 0)
showMessage("ddd", 0)
});
});
});