mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
0db4359591
commit
bbfc638546
2 changed files with 19 additions and 2 deletions
|
|
@ -20,7 +20,7 @@
|
|||
transition: transform 0.15s cubic-bezier(0, 0, 0.2, 1) 0ms;
|
||||
|
||||
&--show {
|
||||
transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0) !important;
|
||||
}
|
||||
|
||||
& > .b3-button {
|
||||
|
|
@ -85,3 +85,18 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 520px) {
|
||||
.b3-snackbars {
|
||||
top: 35px;
|
||||
right: calc(10vw - 18px);
|
||||
}
|
||||
|
||||
.b3-snackbar__content {
|
||||
max-width: 80vw
|
||||
}
|
||||
|
||||
.b3-snackbars {
|
||||
transform: translate3d(100vw, 0, 0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import {initAssets, loadAssets} from "../util/assets";
|
|||
import {openMobileFileById} from "./editor";
|
||||
import {promiseTransactions} from "../protyle/wysiwyg/transaction";
|
||||
import {bootSync} from "../dialog/processSystem";
|
||||
import {initMessage} from "../dialog/message";
|
||||
import {initMessage, showMessage} from "../dialog/message";
|
||||
|
||||
class App {
|
||||
constructor() {
|
||||
|
|
@ -60,6 +60,8 @@ class App {
|
|||
window.JSAndroid.changeStatusBarColor(getComputedStyle(document.body).getPropertyValue("--b3-theme-background"), window.siyuan.config.appearance.mode);
|
||||
}
|
||||
initMessage();
|
||||
showMessage("ww", 0, "error");
|
||||
showMessage("dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd", 0)
|
||||
});
|
||||
});
|
||||
if (navigator.userAgent.indexOf("iPhone") > -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue