mirror of
https://github.com/zadam/trilium.git
synced 2024-11-11 01:23:57 +08:00
absolute positioning of relation map buttons to maximize screen estate
This commit is contained in:
parent
0b85f87cb2
commit
a065a610c1
3 changed files with 8 additions and 3 deletions
|
@ -28,7 +28,7 @@ const RELATION_MAP = {
|
|||
"libraries/panzoom.js"
|
||||
],
|
||||
css: [
|
||||
"stylesheets/relation-map.css"
|
||||
"stylesheets/relation_map.css"
|
||||
]
|
||||
};
|
||||
|
||||
|
|
|
@ -77,4 +77,9 @@ path, .jtk-endpoint { cursor:pointer; }
|
|||
|
||||
.ui-contextmenu {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.floating-button {
|
||||
position: absolute !important;
|
||||
z-index: 100;
|
||||
}
|
|
@ -1,12 +1,12 @@
|
|||
<div id="note-detail-relation-map" class="note-detail-component">
|
||||
<button id="relation-map-create-child-note" class="btn btn-sm" type="button"
|
||||
<button id="relation-map-create-child-note" class="btn btn-sm floating-button" type="button"
|
||||
title="Create new child note and add it into this relation map">
|
||||
<span class="jam jam-plus"></span>
|
||||
|
||||
Create child note
|
||||
</button>
|
||||
|
||||
<div class="btn-group" style="float: right; padding-right: 20px;">
|
||||
<div class="btn-group floating-button" style="right: 20px;">
|
||||
<button type="button"
|
||||
class="btn icon-button jam jam-search-plus"
|
||||
title="Zoom In"
|
||||
|
|
Loading…
Reference in a new issue