mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
💄 样式重置
This commit is contained in:
parent
a4953fa945
commit
456fc59c68
2 changed files with 6 additions and 2 deletions
|
|
@ -63,12 +63,16 @@
|
|||
text-align: left;
|
||||
border: 0;
|
||||
color: var(--b3-theme-on-background);
|
||||
margin: 0 8px !important;
|
||||
margin: 0 8px;
|
||||
|
||||
&[draggable="true"]:active {
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
&--narrow {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&--big {
|
||||
padding: 16px 24px;
|
||||
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import {escapeHtml} from "../util/escape";
|
|||
import {getDisplayName, getNotebookName} from "../util/pathName";
|
||||
|
||||
const genCardItem = (item: ICard) => {
|
||||
return `<li style="margin: 0 !important;" data-id="${item.id}" class="b3-list-item${isMobile() ? "" : " b3-list-item--hide-action"}">
|
||||
return `<li data-id="${item.id}" class="b3-list-item b3-list-item--narrow${isMobile() ? "" : " b3-list-item--hide-action"}">
|
||||
<span class="b3-list-item__text">${item.name}</span>
|
||||
<span class="counter b3-tooltips b3-tooltips__w${isMobile() ? "" : " fn__none"}" aria-label="${window.siyuan.languages.riffCard}">${item.size}</span>
|
||||
<span data-type="add" class="b3-list-item__action b3-tooltips b3-tooltips__w" aria-label="${window.siyuan.languages.addDeck}">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue