This commit is contained in:
ed 2020-05-14 01:08:42 +02:00
parent e050e69a43
commit db5f07f164
3 changed files with 8 additions and 4 deletions

View file

@ -1,8 +1,8 @@
# coding: utf-8
VERSION = (0, 4, 0)
VERSION = (0, 4, 1)
CODENAME = "NIH"
BUILD_DT = (2020, 5, 13)
BUILD_DT = (2020, 5, 14)
S_VERSION = ".".join(map(str, VERSION))
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

View file

@ -28,11 +28,13 @@
}
#mtw.single,
#mw.single {
left: calc((100% - 58em) / 2);
margin: 0;
left: 1em;
left: max(1em, calc((100% - 58em) / 2));
}
#mtw.single {
width: 57em;
width: min(57em, calc(100% - 2em));
}
@ -57,11 +59,13 @@
line-height: 1.3em;
font-size: .9em;
position: relative;
scrollbar-color: #eb0 #f7f7f7;
}
html.dark #mt {
color: #eee;
background: #222;
border: 1px solid #777;
scrollbar-color: #b80 #282828;
}
#mtr {
position: absolute;

View file

@ -85,7 +85,7 @@ var draw_md = (function () {
cls(document.getElementById('save'), 'disabled', src == server_md);
var t1 = new Date().getTime();
delay = t1 - t0;
delay = t1 - t0 > 150 ? 25 : 1;
}
var timeout = null;