mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
This commit is contained in:
parent
b34d2569ac
commit
b99c89f6ec
2 changed files with 1 additions and 5 deletions
|
|
@ -41,10 +41,6 @@
|
||||||
.layout-tab-bar {
|
.layout-tab-bar {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
font-size: 87.5%;
|
font-size: 87.5%;
|
||||||
|
|
||||||
.item {
|
|
||||||
line-height: normal;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -208,7 +208,7 @@ ${cell.color ? `color:${cell.color};` : ""}">${text}</div>`;
|
||||||
let tabHTML = "";
|
let tabHTML = "";
|
||||||
response.data.views.forEach((item: IAVView) => {
|
response.data.views.forEach((item: IAVView) => {
|
||||||
tabHTML += `<div data-id="${item.id}" class="item${item.id === response.data.viewID ? " item--focus" : ""}">
|
tabHTML += `<div data-id="${item.id}" class="item${item.id === response.data.viewID ? " item--focus" : ""}">
|
||||||
${item.icon ? unicode2Emoji(item.icon, "item__graphic", true) : '<svg class="item__graphic"><use xlink:href="#iconTable"></use></svg>'}
|
${item.icon ? unicode2Emoji(item.icon, "item__icon", true) : '<span class="item__icon"><svg><use xlink:href="#iconTable"></use></svg></span>'}
|
||||||
<span class="item__text">${item.name}</span>
|
<span class="item__text">${item.name}</span>
|
||||||
</div>`;
|
</div>`;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue