mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-27 01:14:07 +01:00
This commit is contained in:
parent
3110b3e1fb
commit
63badb1c74
6 changed files with 10 additions and 6 deletions
|
|
@ -17,9 +17,6 @@ export class Scroll {
|
|||
constructor(protyle: IProtyle) {
|
||||
this.parentElement = document.createElement("div");
|
||||
this.parentElement.classList.add("protyle-scroll");
|
||||
if (!isMobile()) {
|
||||
this.parentElement.style.right = "10px";
|
||||
}
|
||||
this.parentElement.innerHTML = `<div class="protyle-scroll__up ariaLabel" data-position="right4top" aria-label="${updateHotkeyTip("⌘Home")}">
|
||||
<svg><use xlink:href="#iconUp"></use></svg>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue