Skip to content

Build your personal knowledge base with Trilium Notes

fix pin button shadow, closes #4595

zadamc6df25ece8cf
diff --git a/src/public/app/widgets/title_bar_buttons.js b/src/public/app/widgets/title_bar_buttons.js
index 89dd436017..ef5d5a8164 100644
--- a/src/public/app/widgets/title_bar_buttons.js
+++ b/src/public/app/widgets/title_bar_buttons.js
@@ -30,9 +30,14 @@ const TPL = `
height: 40px;
width: 40px;
}
+
.title-bar-buttons .top-btn.active{
background-color:var(--accented-background-color);
}
+
+ .title-bar-buttons .btn.focus, .title-bar-buttons .btn:focus {
+ box-shadow: none;
+ }
</style>
<!-- divs act as a hitbox for the buttons, making them clickable on corners -->