mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 22:08:48 +01:00
style: 浮窗或反链的加载按钮旋转90度 (#14007)
This commit is contained in:
parent
6d826828a1
commit
2ab5e5e709
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ export const foldPassiveType = (expand: boolean, element: HTMLElement | Document
|
|||
Array.from(element.children).forEach((item, index) => {
|
||||
if ((expand && index > 2) || (!expand && index > 1)) {
|
||||
if ((expand && index === 3) || (!expand && index === 2)) {
|
||||
item.insertAdjacentHTML("beforebegin", '<div style="max-width: 100%;justify-content: center;" contenteditable="false" class="protyle-breadcrumb__item"><svg><use xlink:href="#iconMore"></use></svg></div>');
|
||||
item.insertAdjacentHTML("beforebegin", '<div style="max-width: 100%;justify-content: center;" contenteditable="false" class="protyle-breadcrumb__item"><svg style="transform: rotate(90deg);"><use xlink:href="#iconMore"></use></svg></div>');
|
||||
}
|
||||
item.classList.add("fn__none");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue