style: 浮窗或反链的加载按钮旋转90度 (#14007)

This commit is contained in:
Jeffrey Chen 2025-02-03 19:25:36 +08:00 committed by GitHub
parent 6d826828a1
commit 2ab5e5e709
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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");
}