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 node = data.node;
const noteId = node.data.noteId; const noteId = node.data.noteId;
treeService.clearSelectedNodes();
treeService.setCurrentNotePathToHash(node); treeService.setCurrentNotePathToHash(node);
togglePanes(); togglePanes();

View File

@ -70,7 +70,8 @@ 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-style: normal;
font-weight: normal; font-weight: normal;
font-variant: normal; font-variant: normal;
text-transform: none; text-transform: none;
@ -81,6 +82,11 @@ html, body {
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";
} }

View File

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