mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 08:29:00 +01:00
style: disable tab switching animation while background effects are active, improve performance
This commit is contained in:
parent
5df512a69c
commit
f789b69506
@ -1192,8 +1192,10 @@ body.layout-vertical .tab-row-widget-is-sorting .note-tab.note-tab-is-dragging .
|
|||||||
#center-pane .note-split {
|
#center-pane .note-split {
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
background-color: var(--note-split-background-color, var(--main-background-color));
|
background-color: var(--note-split-background-color, var(--main-background-color));
|
||||||
|
}
|
||||||
|
|
||||||
|
body:not(.background-effects) #center-pane .note-split {
|
||||||
animation: note-entrance 100ms linear;
|
animation: note-entrance 100ms linear;
|
||||||
/* will-change: opacity; -- causes some weird artifacts to the note menu in split view */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1206,9 +1208,9 @@ body.layout-vertical .tab-row-widget-is-sorting .note-tab.note-tab-is-dragging .
|
|||||||
|
|
||||||
@keyframes note-entrance {
|
@keyframes note-entrance {
|
||||||
from {
|
from {
|
||||||
opacity: 0;
|
filter: opacity(0);
|
||||||
} to {
|
} to {
|
||||||
opacity: 1;
|
filter: opacity(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user