mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 16:58:49 +01:00
This commit is contained in:
parent
f176383a0f
commit
96c7e85aa4
2 changed files with 4 additions and 0 deletions
|
|
@ -371,6 +371,7 @@
|
|||
margin: 34px 16px 0 24px;
|
||||
position: relative;
|
||||
font-size: 16px;
|
||||
border-radius: 4px;
|
||||
|
||||
&:hover .protyle-title__icon {
|
||||
opacity: 1;
|
||||
|
|
|
|||
|
|
@ -485,6 +485,9 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, focus: b
|
|||
Object.keys(data.old).forEach(key => {
|
||||
item.removeAttribute(key);
|
||||
});
|
||||
if (data.new.style && data.new["custom-riff-decks"]) {
|
||||
data.new.style += ";animation:addCard 450ms linear";
|
||||
}
|
||||
Object.keys(data.new).forEach(key => {
|
||||
item.setAttribute(key, data.new[key]);
|
||||
if (key === "custom-riff-decks") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue