Vanessa 2022-10-22 12:12:38 +08:00
parent 8e310cb7d9
commit d650696409
2 changed files with 9 additions and 1 deletions

View file

@ -115,6 +115,10 @@
flex: 1;
min-width: 8px;
transition: var(--b3-transition);
color: var(--b3-theme-error);
text-align: center;
padding: 6px 0;
line-height: 18px;
}
&__bar {

View file

@ -131,7 +131,8 @@ const setHTML = (options: {
content: string,
action?: string[],
isSyncing: boolean,
unScroll?: boolean }, protyle: IProtyle) => {
unScroll?: boolean
}, protyle: IProtyle) => {
if (protyle.contentElement.classList.contains("fn__none")) {
return;
}
@ -286,6 +287,9 @@ 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.element.setAttribute("disabled-forever", "true");
}