mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
修复使用系统原生 Emoji 宽度不一致问题 (#7668)
* 🎨 修复使用系统默认图标时图标宽度与自定义图标不一致问题 * 🎨 修复 emoji 选择菜单中图标不等宽问题 * 🎨 调整移动端样式
This commit is contained in:
parent
31524d814f
commit
4c8b2278d5
6 changed files with 11 additions and 8 deletions
|
|
@ -956,7 +956,7 @@ export class Files extends Model {
|
|||
data-node-id="${item.id}" data-name="${Lute.EscapeHTMLStr(item.name)}" draggable="true" data-count="${item.subFileCount}"
|
||||
data-type="navigation-file"
|
||||
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 - 2) * 14 + 22}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" aria-label="${window.siyuan.languages.changeIcon}">${unicode2Emoji(item.icon || (item.subFileCount === 0 ? Constants.SIYUAN_IMAGE_FILE : Constants.SIYUAN_IMAGE_FOLDER))}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue