mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 01:08:49 +01:00
🎨 Update text
This commit is contained in:
parent
6fb6f77359
commit
eeaced6036
2 changed files with 2 additions and 5 deletions
|
|
@ -35,7 +35,7 @@ import {getIdZoomInByPath} from "../util/pathName";
|
|||
import {openHistory} from "../history/history";
|
||||
import {Custom} from "./dock/Custom";
|
||||
import {newCardModel} from "../card/newCardTab";
|
||||
import { openRecentDocs } from "../business/openRecentDocs";
|
||||
import {openRecentDocs} from "../business/openRecentDocs";
|
||||
|
||||
export const setPanelFocus = (element: Element) => {
|
||||
if (element.classList.contains("layout__tab--active") || element.classList.contains("layout__wnd--active")) {
|
||||
|
|
@ -799,8 +799,6 @@ export const newCenterEmptyTab = () => {
|
|||
</div>
|
||||
<div class="b3-label__text">${window.siyuan.languages.slogan}</div>
|
||||
</div>
|
||||
<h1>${window.siyuan.languages.noOpenFile}</h1>
|
||||
<div class="fn__hr"></div>
|
||||
<div class="fn__hr"></div>
|
||||
<div class="b3-list-item" id="editorEmptySearch">
|
||||
<svg class="b3-list-item__graphic"><use xlink:href="#iconSearch"></use></svg>
|
||||
|
|
|
|||
|
|
@ -14,8 +14,7 @@ export const setEmpty = () => {
|
|||
if (emptyElement.innerHTML !== "") {
|
||||
return;
|
||||
}
|
||||
emptyElement.innerHTML = `<h1 style="width: 200px">${window.siyuan.languages.noOpenFile}</h1>
|
||||
<div class="fn__hr--b"></div>
|
||||
emptyElement.innerHTML = `
|
||||
<div id="emptySearch" class="b3-list-item">
|
||||
<svg class="b3-list-item__graphic"><use xlink:href="#iconSearch"></use></svg><span class="b3-list-item__text">${window.siyuan.languages.search}</span>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue