Make the file editor stick to the top of the page

This commit is contained in:
luukas 2022-06-14 01:35:43 +03:00
parent 55f7ab1d35
commit 392cf3d4e7
No known key found for this signature in database
GPG Key ID: CC4915E8D71FC044

View File

@ -211,8 +211,18 @@
.tree-nested {
display: none;
}
html, body, body > .container-scroller {
overflow: initial;
}
.editorManager {
top: 63px;
position: sticky;
}
</style>
<div class="col-md-6 col-sm-12">
<div class="editorManager">
<h2 id="fileError"></h2>
<div id="editorParent">
{{ translate('serverFiles', 'editingFile', data['lang']) }} <span id="editingFile"></span>
@ -236,6 +246,7 @@
<span style="color: #2fb689; margin-left: 10px;" id="save_status"></span>
</div>
</div>
</div>
</div>
</div>