Skip to content

Build your personal knowledge base with Trilium Notes

client: fix different issues

Adorian Doran676dea33e1d1
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index ba6f5d95b5..4ef72ddf57 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -823,7 +823,7 @@ body[dir=rtl] #left-pane span.fancytree-node.protected > span.fancytree-custom-i
}
#left-pane span.fancytree-node.fancytree-active .tree-item-button:hover,
-#left-pane span.fancytree-node.fancytree-active.fancy-tree-selected .fancytree-custom-icon:hover {
+#left-pane span.fancytree-node.fancytree-active.fancytree-selected .fancytree-custom-icon:hover {
box-shadow: var(--left-pane-item-selected-action-button-hover-shadow);
}
diff --git a/apps/client/src/widgets/launch_bar/CalendarWidget.css b/apps/client/src/widgets/launch_bar/CalendarWidget.css
index 73ecaccf32..d6b9d22645 100644
--- a/apps/client/src/widgets/launch_bar/CalendarWidget.css
+++ b/apps/client/src/widgets/launch_bar/CalendarWidget.css
@@ -65,7 +65,6 @@
border: 0;
border-inline-start: unset;
background-color: var(--menu-background-color);
- font-weight: 400;
outline: 0;
font-weight: 300;
font-size: 1.4em;
diff --git a/apps/client/src/widgets/type_widgets/file/PdfViewer.tsx b/apps/client/src/widgets/type_widgets/file/PdfViewer.tsx
index 6ba24ef812..3d39135c19 100644
--- a/apps/client/src/widgets/type_widgets/file/PdfViewer.tsx
+++ b/apps/client/src/widgets/type_widgets/file/PdfViewer.tsx
@@ -24,7 +24,6 @@ const VARIABLE_WHITELIST = new Set([
"dropdown-border-color",
"dropdown-shadow-opacity",
"menu-padding-size",
- "dropdown-backdrop-filter",
"menu-text-color",
"hover-item-background-color",
"hover-item-text-color",
@@ -77,7 +76,7 @@ function useStyleInjection(iframeRef: RefObject<HTMLIFrameElement>) {
const style = doc.createElement('style');
style.id = 'client-root-vars';
- style.textContent = cssVarsToString(getRootCssVariables());;
+ style.textContent = cssVarsToString(getRootCssVariables());
styleRef.current = style;
doc.head.appendChild(style);
@@ -128,4 +127,4 @@ function injectFont(font: FontDefinition) {
src: url('${font.url}');
}
`;
-};
\ No newline at end of file
+}
\ No newline at end of file