diff --git a/app/src/assets/scss/_protyle.scss b/app/src/assets/scss/_protyle.scss index f227c0384..2db977b6a 100644 --- a/app/src/assets/scss/_protyle.scss +++ b/app/src/assets/scss/_protyle.scss @@ -115,7 +115,7 @@ flex: 1; min-width: 8px; transition: var(--b3-transition); - color: var(--b3-theme-error); + color: var(--b3-theme-on-surface); text-align: center; padding: 6px 0; line-height: 18px; diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts index 84469d889..702e252fc 100644 --- a/app/src/protyle/util/onGet.ts +++ b/app/src/protyle/util/onGet.ts @@ -288,7 +288,7 @@ const setHTML = (options: { export const disabledForeverProtyle = (protyle: IProtyle) => { disabledProtyle(protyle); if (protyle.breadcrumb) { - protyle.breadcrumb.element.querySelector(".b3-button").textContent = window.siyuan.languages["_kernel"][81]; + protyle.breadcrumb.element.nextElementSibling.textContent = window.siyuan.languages["_kernel"][81]; } protyle.element.setAttribute("disabled-forever", "true"); };