Skip to content

Build your personal knowledge base with Trilium Notes

unifying expander icons in both desktop and mobile

azivner74cc34696e8d
diff --git a/src/public/stylesheets/mobile.css b/src/public/stylesheets/mobile.css
index a7b4b7d8ae..ef875ecb05 100644
--- a/src/public/stylesheets/mobile.css
+++ b/src/public/stylesheets/mobile.css
@@ -62,33 +62,8 @@ html, body {
padding: 5px;
}
-.fancytree-node .fancytree-expander {
- background: none;
- width: auto;
- height: auto;
-}
-
.fancytree-node .fancytree-expander:before {
- font-family: 'jam-icons' !important;
- speak: none;
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 1;
font-size: 2em;
- padding-left: 5px;
- padding-right: 5px;
- content: "\e9bc";
-}
-
-/* this is done to preserve correct indentation. Better solution would be preferable */
-.fancytree-node:not(.fancytree-folder) .fancytree-expander:before {
- color: white;
-}
-
-.fancytree-node.fancytree-expanded .fancytree-expander:before {
- content: "\e9ba";
}
kbd {
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index 8c675e1d24..18e801dd6b 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -65,6 +65,34 @@ body {
flex-grow: 100;
}
+.fancytree-node .fancytree-expander {
+ background: none;
+ width: auto;
+ height: auto;
+}
+
+.fancytree-node .fancytree-expander:before {
+ font-family: 'jam-icons' !important;
+ speak: none;
+ font-style: normal;
+ font-weight: normal;
+ font-variant: normal;
+ text-transform: none;
+ line-height: 1;
+ padding-left: 5px;
+ padding-right: 5px;
+ content: "\e9bc";
+}
+
+/* this is done to preserve correct indentation. Better solution would be preferable */
+.fancytree-node:not(.fancytree-folder) .fancytree-expander:before {
+ color: white;
+}
+
+.fancytree-node.fancytree-expanded .fancytree-expander:before {
+ content: "\e9ba";
+}
+
#note-title[readonly] {
background: inherit;
}