mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
879369dd94
commit
fddafb396c
3 changed files with 3 additions and 3 deletions
|
|
@ -136,7 +136,7 @@
|
|||
border-radius: var(--b3-border-radius);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-width: 16px;
|
||||
min-width: 19px;
|
||||
justify-content: center;
|
||||
|
||||
&:hover {
|
||||
|
|
|
|||
|
|
@ -1183,7 +1183,7 @@ export class Files extends Model {
|
|||
data-type="navigation-file"
|
||||
style="--file-toggle-width:${(item.path.split("/").length - 2) * 18 + 40}px"
|
||||
class="b3-list-item b3-list-item--hide-action" data-path="${item.path}">
|
||||
<span style="padding-left: ${(item.path.split("/").length - 2) * 18 + 22}px" class="b3-list-item__toggle b3-list-item__toggle--hl${item.subFileCount === 0 ? " fn__hidden" : ""}">
|
||||
<span style="padding-left: ${(item.path.split("/").length - 1) * 18}px" class="b3-list-item__toggle b3-list-item__toggle--hl${item.subFileCount === 0 ? " fn__hidden" : ""}">
|
||||
<svg class="b3-list-item__arrow"><use xlink:href="#iconRight"></use></svg>
|
||||
</span>
|
||||
<span class="b3-list-item__icon b3-tooltips b3-tooltips__n popover__block" data-id="${item.id}" aria-label="${window.siyuan.languages.changeIcon}">${unicode2Emoji(item.icon || (item.subFileCount === 0 ? window.siyuan.storage[Constants.LOCAL_IMAGES].file : window.siyuan.storage[Constants.LOCAL_IMAGES].folder))}</span>
|
||||
|
|
|
|||
|
|
@ -725,7 +725,7 @@ export class MobileFiles extends Model {
|
|||
}
|
||||
return `<li data-node-id="${item.id}" data-name="${Lute.EscapeHTMLStr(item.name)}" data-type="navigation-file"
|
||||
class="b3-list-item" data-path="${item.path}">
|
||||
<span style="padding-left: ${(item.path.split("/").length - 2) * 20 + 24}px" class="b3-list-item__toggle${item.subFileCount === 0 ? " fn__hidden" : ""}">
|
||||
<span style="padding-left: ${(item.path.split("/").length - 1) * 20}px" class="b3-list-item__toggle${item.subFileCount === 0 ? " fn__hidden" : ""}">
|
||||
<svg class="b3-list-item__arrow"><use xlink:href="#iconRight"></use></svg>
|
||||
</span>
|
||||
<span class="b3-list-item__icon">${unicode2Emoji(item.icon || (item.subFileCount === 0 ? window.siyuan.storage[Constants.LOCAL_IMAGES].file : window.siyuan.storage[Constants.LOCAL_IMAGES].folder))}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue