This commit is contained in:
杜恒 2021-05-24 15:31:17 +08:00
parent bbaa2acbb0
commit d3b101d37e
6 changed files with 12 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -202,7 +202,13 @@
display: none; display: none;
padding: 15px 15px 0 15px; padding: 15px 15px 0 15px;
li { li {
line-height: 2.5; white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin-bottom: 15px;
&:last-child {
margin-bottom: 0;
}
a { a {
color: var(--routine); color: var(--routine);
&:hover { &:hover {

View File

@ -3,7 +3,7 @@ document.addEventListener('DOMContentLoaded', () => {
/* 转换字节 */ /* 转换字节 */
const bytesToSize = bytes => { const bytesToSize = bytes => {
if (!bytes) return '0 B'; if (!bytes) return '0 B';
const k = 1024, const k = 1000,
sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'], sizes = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'],
i = Math.floor(Math.log(bytes) / Math.log(k)); i = Math.floor(Math.log(bytes) / Math.log(k));
return (bytes / Math.pow(k, i)).toPrecision(3) + ' ' + sizes[i]; return (bytes / Math.pow(k, i)).toPrecision(3) + ' ' + sizes[i];

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
/* 获取主题当前版本号 */ /* 获取主题当前版本号 */
function _getVersion() function _getVersion()
{ {
return "7.1.0"; return "7.1.1";
}; };
/* 判断是否是手机 */ /* 判断是否是手机 */

View File

@ -1,6 +1,6 @@
{ {
"name": "typecho-joe-next", "name": "typecho-joe-next",
"version": "7.1.0", "version": "7.1.1",
"description": "A Theme Of Typecho", "description": "A Theme Of Typecho",
"main": "index.php", "main": "index.php",
"keywords": [ "keywords": [