Skip to content

Commit db5f07f

Browse files
committed
v0.4.1
1 parent e050e69 commit db5f07f

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

copyparty/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# coding: utf-8
22

3-
VERSION = (0, 4, 0)
3+
VERSION = (0, 4, 1)
44
CODENAME = "NIH"
5-
BUILD_DT = (2020, 5, 13)
5+
BUILD_DT = (2020, 5, 14)
66

77
S_VERSION = ".".join(map(str, VERSION))
88
S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT)

copyparty/web/md2.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@
2828
}
2929
#mtw.single,
3030
#mw.single {
31-
left: calc((100% - 58em) / 2);
3231
margin: 0;
32+
left: 1em;
33+
left: max(1em, calc((100% - 58em) / 2));
3334
}
3435
#mtw.single {
3536
width: 57em;
37+
width: min(57em, calc(100% - 2em));
3638
}
3739

3840

@@ -57,11 +59,13 @@
5759
line-height: 1.3em;
5860
font-size: .9em;
5961
position: relative;
62+
scrollbar-color: #eb0 #f7f7f7;
6063
}
6164
html.dark #mt {
6265
color: #eee;
6366
background: #222;
6467
border: 1px solid #777;
68+
scrollbar-color: #b80 #282828;
6569
}
6670
#mtr {
6771
position: absolute;

copyparty/web/md2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ var draw_md = (function () {
8585
cls(document.getElementById('save'), 'disabled', src == server_md);
8686

8787
var t1 = new Date().getTime();
88-
delay = t1 - t0;
88+
delay = t1 - t0 > 150 ? 25 : 1;
8989
}
9090

9191
var timeout = null;

0 commit comments

Comments
 (0)