mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 20:08:49 +01:00
This commit is contained in:
parent
ccbcb4b809
commit
fc67bcc9e8
2 changed files with 6 additions and 2 deletions
|
|
@ -918,6 +918,11 @@
|
|||
clear: both;
|
||||
display: flex;
|
||||
font-size: 87.5%;
|
||||
align-items: center;
|
||||
|
||||
.counter:hover {
|
||||
background-color: var(--b3-list-icon-hover);
|
||||
}
|
||||
|
||||
svg {
|
||||
transition: transform 0.15s cubic-bezier(0, 0, 0.2, 1), opacity 1s cubic-bezier(0, 0, 0.2, 1);
|
||||
|
|
|
|||
|
|
@ -223,8 +223,7 @@ const renderGroupTable = (options: {
|
|||
avBodyHTML += `<div class="av__group-title">
|
||||
<div class="block__icon block__icon--show" data-type="av-group-fold" data-id="${group.id}">
|
||||
<svg class="${group.groupFolded ? "" : "av__group-arrow--open"}"><use xlink:href="#iconRight"></use></svg>
|
||||
</div><span class="fn__space"></span>
|
||||
${group.name}
|
||||
</div><span class="fn__space"></span>${group.name}<span class="${group.rows.length === 0 ? "fn__none" : "counter"}">${group.rows.length}</span>
|
||||
</div>
|
||||
<div class="av__body${group.groupFolded ? " fn__none" : ""}">${getTableHTMLs(group, options.blockElement).contentHTML}</div>`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue