mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
This commit is contained in:
parent
d0454be592
commit
fc243e9224
2 changed files with 8 additions and 0 deletions
|
|
@ -160,6 +160,13 @@
|
|||
box-sizing: border-box;
|
||||
border-radius: 0 0 4px 4px;
|
||||
overflow: hidden;
|
||||
|
||||
.b3-chip--secondary {
|
||||
padding: 2px 8px;
|
||||
display: inline;
|
||||
margin-right: 8px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
&__repoheader {
|
||||
|
|
|
|||
|
|
@ -119,6 +119,7 @@ const renderRepoItem = (response: IWebSocketData, element: Element, type: string
|
|||
response.data.snapshots.forEach((item: { memo: string, id: string, hCreated: string, count: number, hSize: string, tag: string }) => {
|
||||
repoHTML += `<li class="b3-list-item b3-list-item--hide-action" data-id="${item.id}" data-tag="${item.tag}">
|
||||
<div class="b3-list-item__text">
|
||||
<span class="b3-chip b3-chip--secondary${item.tag ? "" : " fn__none"}">${item.tag}</span>
|
||||
${item.hCreated}<span class="fn__space"></span>
|
||||
${escapeHtml(item.memo)}
|
||||
<span class="b3-list-item__meta">${item.hSize}</span>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue