mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 13:28:48 +01:00
This commit is contained in:
parent
61a89f6c46
commit
3485c507ec
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ export class Setting {
|
|||
}
|
||||
const tagName = actionElement?.classList.contains("b3-switch") ? "label" : "div";
|
||||
if (typeof item.direction === "undefined") {
|
||||
item.direction = "TEXTAREA" === actionElement.tagName ? "row" : "column";
|
||||
item.direction = (!actionElement || "TEXTAREA" === actionElement.tagName) ? "row" : "column";
|
||||
}
|
||||
if (item.direction === "row") {
|
||||
html = `<${tagName} class="b3-label">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue