mobile fixes

This commit is contained in:
azivner 2018-12-27 22:36:11 +01:00
parent 35bc1421f1
commit d4baac0bb5
3 changed files with 15 additions and 5 deletions

View file

@ -30,6 +30,8 @@ async function showTree() {
const node = data.node;
const noteId = node.data.noteId;
treeService.clearSelectedNodes();
treeService.setCurrentNotePathToHash(node);
togglePanes();

View file

@ -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";
}

View file

@ -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>