mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
move windowControl style to base.scss (#6027)
This commit is contained in:
parent
6005027991
commit
11ba84f9dd
2 changed files with 8 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ const initBar = () => {
|
|||
</svg>
|
||||
</button>
|
||||
<div class="fn__flex-1 fn__ellipsis" id="drag"><span class="fn__none">开发版,使用前请进行备份 Development version, please backup before use</span></div>
|
||||
<div class="fn__flex" style="top: -1px;z-index: 502;right: -1px;position: relative;" id="windowControls"></div>`;
|
||||
<div class="fn__flex" id="windowControls"></div>`;
|
||||
document.querySelector(".toolbar").addEventListener("click", (event: MouseEvent) => {
|
||||
let target = event.target as HTMLElement;
|
||||
while (!target.classList.contains("toolbar")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue