Skip to content

Commit

Permalink
style: 浮窗或反链的加载按钮旋转90度 (#14007)
Browse files Browse the repository at this point in the history
  • Loading branch information
TCOTC authored Feb 3, 2025
1 parent 6d82682 commit 2ab5e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/protyle/wysiwyg/renderBacklink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 2ab5e5e

Please sign in to comment.