mirror of
https://github.com/zadam/trilium.git
synced 2025-01-17 20:48:12 +08:00
mobile fixes
This commit is contained in:
parent
35bc1421f1
commit
d4baac0bb5
3 changed files with 15 additions and 5 deletions
|
@ -30,6 +30,8 @@ async function showTree() {
|
|||
const node = data.node;
|
||||
const noteId = node.data.noteId;
|
||||
|
||||
treeService.clearSelectedNodes();
|
||||
|
||||
treeService.setCurrentNotePathToHash(node);
|
||||
togglePanes();
|
||||
|
||||
|
|
|
@ -70,17 +70,23 @@ html, body {
|
|||
|
||||
.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;
|
||||
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";
|
||||
}
|
||||
|
|
|
@ -67,6 +67,8 @@
|
|||
<link href="stylesheets/style.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">
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in a new issue