mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
mobile fixes
This commit is contained in:
parent
35bc1421f1
commit
d4baac0bb5
@ -30,6 +30,8 @@ async function showTree() {
|
|||||||
const node = data.node;
|
const node = data.node;
|
||||||
const noteId = node.data.noteId;
|
const noteId = node.data.noteId;
|
||||||
|
|
||||||
|
treeService.clearSelectedNodes();
|
||||||
|
|
||||||
treeService.setCurrentNotePathToHash(node);
|
treeService.setCurrentNotePathToHash(node);
|
||||||
togglePanes();
|
togglePanes();
|
||||||
|
|
||||||
|
@ -70,17 +70,23 @@ html, body {
|
|||||||
|
|
||||||
.fancytree-node .fancytree-expander:before {
|
.fancytree-node .fancytree-expander:before {
|
||||||
font-family: 'jam-icons' !important;
|
font-family: 'jam-icons' !important;
|
||||||
speak:none;font-style:normal;
|
speak: none;
|
||||||
font-weight:normal;
|
font-style: normal;
|
||||||
font-variant:normal;
|
font-weight: normal;
|
||||||
text-transform:none;
|
font-variant: normal;
|
||||||
line-height:1;
|
text-transform: none;
|
||||||
|
line-height: 1;
|
||||||
font-size: 2em;
|
font-size: 2em;
|
||||||
padding-left: 5px;
|
padding-left: 5px;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
content: "\e9bc";
|
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 {
|
.fancytree-node.fancytree-expanded .fancytree-expander:before {
|
||||||
content: "\e9ba";
|
content: "\e9ba";
|
||||||
}
|
}
|
||||||
|
@ -67,6 +67,8 @@
|
|||||||
<link href="stylesheets/style.css" rel="stylesheet">
|
<link href="stylesheets/style.css" rel="stylesheet">
|
||||||
<link href="stylesheets/mobile.css" rel="stylesheet">
|
<link href="stylesheets/mobile.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<script src="libraries/bootstrap-notify.min.js"></script>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="libraries/jam/css/jam.min.css">
|
<link rel="stylesheet" type="text/css" href="libraries/jam/css/jam.min.css">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
x
Reference in New Issue
Block a user