mirror of https://gitgud.io/fatchan/jschan.git
parent
826ca61a4c
commit
56a3f73184
6 changed files with 50 additions and 14 deletions
@ -1,19 +1,21 @@ |
||||
img { |
||||
width:200px; |
||||
height:80px; |
||||
margin:0 auto; |
||||
width: 200px; |
||||
height: 80px; |
||||
margin: 0 auto; |
||||
} |
||||
input { |
||||
position:fixed; |
||||
left:-1px; |
||||
bottom:-1px; |
||||
opacity:0.9; |
||||
position: fixed; |
||||
left: -3px; |
||||
bottom: 0; |
||||
opacity: 0.9; |
||||
border: none; |
||||
background: none; |
||||
font-size: 18px; |
||||
cursor: pointer; |
||||
} |
||||
body { |
||||
font-family: arial, helvetica, sans-serif; |
||||
font-size: 10pt; |
||||
margin: 0; |
||||
padding: 0 |
||||
padding: 0; |
||||
} |
||||
|
@ -1,5 +1,5 @@ |
||||
'use strict'; |
||||
|
||||
module.exports = (label, end) => { |
||||
return `${label} -> ${end[0] > 0 ? end[0]+'s ' : ''}${(end[1]/1000000).toFixed(2)}ms`; |
||||
return (`${end[0] > 0 ? end[0]+'s' : ''}${Math.trunc(end[1]/1000000)}ms `).padStart(9) + label; |
||||
} |
||||
|
Loading…
Reference in new issue