mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
fix shadow of protected note's icon in the tree
This commit is contained in:
parent
295800881b
commit
9cf08bf926
@ -85,7 +85,7 @@ async function setupProtectedSession() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function ensureDialogIsClosed() {
|
function ensureDialogIsClosed() {
|
||||||
// this may fal if the dialog has not been previously opened
|
// this may fal if the dialog has not been previously opened (not sure if still true with Bootstrap modal)
|
||||||
try {
|
try {
|
||||||
$dialog.modal('hide');
|
$dialog.modal('hide');
|
||||||
}
|
}
|
||||||
@ -175,6 +175,8 @@ $dialog.on("show.bs.modal", e => function() {
|
|||||||
$protectButton.click(protectNoteAndSendToServer);
|
$protectButton.click(protectNoteAndSendToServer);
|
||||||
$unprotectButton.click(unprotectNoteAndSendToServer);
|
$unprotectButton.click(unprotectNoteAndSendToServer);
|
||||||
|
|
||||||
|
$dialog.on("shown.bs.modal", e => $password.focus());
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
ensureProtectedSession,
|
ensureProtectedSession,
|
||||||
protectSubtree,
|
protectSubtree,
|
||||||
|
@ -110,7 +110,7 @@ ul.fancytree-container {
|
|||||||
outline: none !important;
|
outline: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
span.fancytree-node.protected > span.fancytree-icon {
|
span.fancytree-node.protected > span.fancytree-custom-icon {
|
||||||
filter: drop-shadow(2px 2px 2px black);
|
filter: drop-shadow(2px 2px 2px black);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user