mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01:00
This commit is contained in:
parent
bc8e26937f
commit
39feb6bd4b
4 changed files with 18 additions and 14 deletions
|
|
@ -48,6 +48,10 @@
|
|||
&-shrink {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
&-wrap {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
&__pointer {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ export const bazaar = {
|
|||
<div class="fn__flex-1">
|
||||
<div data-type="theme" class="bazaarPanel" data-init="true">
|
||||
<div class="fn__hr"></div>
|
||||
<div class="fn__flex">
|
||||
<div class="fn__flex fn__flex-wrap">
|
||||
<div class="fn__space"></div>
|
||||
<div class="fn__space"></div>
|
||||
<svg class="svg ft__on-surface fn__flex-center"><use xlink:href="#iconSort"></use></svg>
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ export const keymap = {
|
|||
</button>
|
||||
</label>
|
||||
<div class="b3-label file-tree config-keymap" id="keymapList">
|
||||
<div class="fn__flex">
|
||||
<div class="fn__flex fn__flex-wrap">
|
||||
<label class="b3-form__icon fn__flex-1">
|
||||
<svg class="b3-form__icon-icon"><use xlink:href="#iconSearch"></use></svg>
|
||||
<input id="keymapInput" class="b3-form__icon-input b3-text-field fn__block" placeholder="${window.siyuan.languages.search}">
|
||||
|
|
|
|||
|
|
@ -77,9 +77,9 @@ export const initConfigSearch = (element: HTMLElement) => {
|
|||
"useFixedPort", "useFixedPortTip", "googleAnalytics", "googleAnalyticsTip"]),
|
||||
];
|
||||
const inputElement = element.querySelector(".b3-form__icon input") as HTMLInputElement;
|
||||
if (window.siyuan.config.system.container !== "ios") {
|
||||
/// #if !BROWSER
|
||||
inputElement.focus();
|
||||
}
|
||||
/// #endif
|
||||
const updateTab = () => {
|
||||
const indexList: number[] = [];
|
||||
const inputValue = inputElement.value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue