Fetch log in web interface instance view

Use the queryLog request to add past entries to the log fix the console
view to scroll to the bottom and stick there upon being loaded up.
This commit is contained in:
Hornwitser committed 2020-11-30 02:49:06 +01:00
1 parent 1c8a2fef32
commit 7b75d4f0bb
2 files changed
+26 -3

No files matched your search

+4
View File
@@ -109,6 +109,10 @@ body {
height: 300px;
overflow-y: scroll;
white-space: pre-wrap;
/* Make sure there's at least one pixel of scroll space, this */
/* is necessary for the view to stick on the scroll anchor. */
padding-top: 300px;
}
.instance-console .factorio-time {