mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
moved API docs button to the bottom of a code note
This commit is contained in:
parent
4bc4b9ade7
commit
9d38e9342d
@ -14,21 +14,11 @@ const TPL = `
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.trilium-api-docs-button {
|
|
||||||
/*display: none;*/
|
|
||||||
position: absolute;
|
|
||||||
top: 10px;
|
|
||||||
right: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.note-detail-code-editor {
|
.note-detail-code-editor {
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<button class="btn bx bx-help-circle trilium-api-docs-button icon-button floating-button"
|
|
||||||
title="Open Trilium API docs"></button>
|
|
||||||
|
|
||||||
<div class="note-detail-code-editor"></div>
|
<div class="note-detail-code-editor"></div>
|
||||||
|
|
||||||
<div style="display: flex; justify-content: space-evenly;">
|
<div style="display: flex; justify-content: space-evenly;">
|
||||||
@ -37,6 +27,13 @@ const TPL = `
|
|||||||
Execute <kbd data-command="runActiveNote"></kbd>
|
Execute <kbd data-command="runActiveNote"></kbd>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
<button class="no-print trilium-api-docs-button btn btn-sm"
|
||||||
|
title="Open Trilium API docs">
|
||||||
|
<span class="bx bx-help-circle"></span>
|
||||||
|
|
||||||
|
API docs
|
||||||
|
</button>
|
||||||
|
|
||||||
<button class="no-print save-to-note-button btn btn-sm">
|
<button class="no-print save-to-note-button btn btn-sm">
|
||||||
|
|
||||||
<span class="bx bx-save"></span>
|
<span class="bx bx-save"></span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user