mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user