Skip to content

Build your personal knowledge base with Trilium Notes

feat(mobile/tab_switcher):

Elian Doran1aae4098d6b5
diff --git a/apps/client/src/widgets/mobile_widgets/TabSwitcher.css b/apps/client/src/widgets/mobile_widgets/TabSwitcher.css
index db4cc74a3c..4769b833e0 100644
--- a/apps/client/src/widgets/mobile_widgets/TabSwitcher.css
+++ b/apps/client/src/widgets/mobile_widgets/TabSwitcher.css
@@ -23,6 +23,13 @@
overflow: hidden;
font-size: 0.5em;
padding: 1em;
+
+ p { margin-bottom: 0.2em;}
+ h2 { font-size: 1.20em; }
+ h3 { font-size: 1.15em; }
+ h4 { font-size: 1.10em; }
+ h5 { font-size: 1.05em}
+ h6 { font-size: 1em; }
}
}
}
diff --git a/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsx b/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsx
index 5429e244cc..1f6cbed1a9 100644
--- a/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsx
+++ b/apps/client/src/widgets/mobile_widgets/TabSwitcher.tsx
@@ -45,10 +45,6 @@ function TabBarModal({ shown, setShown }: {
function TabBarModelContent() {
const mainNoteContexts = useMainNoteContexts();
- useTriliumEvent("contextsReopened", () => {
- console.log("Reopened contexts");
- });
-
return (
<div className="tabs">
{mainNoteContexts.map((noteContext) => (