Skip to content

Commit

Permalink
v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
9001 committed May 13, 2020
1 parent e050e69 commit db5f07f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions copyparty/__version__.py
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
6 changes: 5 additions & 1 deletion copyparty/web/md2.css
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}


Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion copyparty/web/md2.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit db5f07f

Please sign in to comment.