mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 23:38:49 +01:00
This commit is contained in:
parent
8e310cb7d9
commit
d650696409
2 changed files with 9 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue