mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
5a56761b5f
commit
6a398e4a8d
1 changed files with 2 additions and 2 deletions
|
|
@ -1289,7 +1289,7 @@ export class Toolbar {
|
||||||
</div>
|
</div>
|
||||||
<div class="b3-list fn__flex-1 b3-list--background" style="position: relative">${html}</div>
|
<div class="b3-list fn__flex-1 b3-list--background" style="position: relative">${html}</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 520px;${isMobile() ? "display:none" : ""};overflow: auto;"></div>
|
<div style="width: 520px;${isMobile() || window.outerWidth < window.outerWidth / 2 + 260 ? "display:none" : ""};overflow: auto;"></div>
|
||||||
</div>`;
|
</div>`;
|
||||||
const listElement = this.subElement.querySelector(".b3-list");
|
const listElement = this.subElement.querySelector(".b3-list");
|
||||||
const previewElement = this.subElement.firstElementChild.lastElementChild;
|
const previewElement = this.subElement.firstElementChild.lastElementChild;
|
||||||
|
|
@ -1469,7 +1469,7 @@ export class Toolbar {
|
||||||
</div>
|
</div>
|
||||||
<div class="b3-list fn__flex-1 b3-list--background" style="position: relative">${html}</div>
|
<div class="b3-list fn__flex-1 b3-list--background" style="position: relative">${html}</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 260px;display: ${isMobile() ? "none" : "flex"};padding: 8px;overflow: auto;justify-content: center;align-items: center;"></div>
|
<div style="width: 260px;display: ${isMobile() || window.outerWidth < window.outerWidth / 2 + 520 ? "none" : "flex"};padding: 8px;overflow: auto;justify-content: center;align-items: center;"></div>
|
||||||
</div>`;
|
</div>`;
|
||||||
const listElement = this.subElement.querySelector(".b3-list");
|
const listElement = this.subElement.querySelector(".b3-list");
|
||||||
listElement.addEventListener("mouseover", (event) => {
|
listElement.addEventListener("mouseover", (event) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue