diff --git a/Cargo.lock b/Cargo.lock index a204af7..c52f42a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2591,7 +2591,7 @@ dependencies = [ [[package]] name = "sr_download" -version = "1.2.2" +version = "1.2.3" dependencies = [ "anyhow", "axum", diff --git a/sr_download/Cargo.toml b/sr_download/Cargo.toml index 5b0156e..76e9448 100644 --- a/sr_download/Cargo.toml +++ b/sr_download/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sr_download" -version = "1.2.2" +version = "1.2.3" edition = "2021" default-run = "sr_download" diff --git a/sr_download/src/info.html b/sr_download/src/info.html index 0abfed2..83d2520 100644 --- a/sr_download/src/info.html +++ b/sr_download/src/info.html @@ -16,17 +16,18 @@ -ms-flex-direction: row; flex-direction: row; justify-content: center; - gap: 20px; - width: 80%; + gap: 10px; + width: 100%; margin: 0 auto; } - .box { - width: 80%; - padding: 40px; + .box, .box2 { + width: 40%; + padding: 20px; + flex-basis: 100%; border: 2px solid #000; text-align: center; - font-size: 24px; + font-size: medium; } .box:nth-child(1) { @@ -39,21 +40,13 @@ /* 淡绿色 */ } - .box2 { - width: 90%; - padding: 20px; - border: 2px solid #000; - text-align: center; - font-size: 24px; - } - .box2:nth-child(1) { background-color: #BBDEFB; /* 淡蓝色 */ } .title { - font-size: 40px; + font-size: 30px; margin-bottom: 10px; } @@ -61,26 +54,24 @@ font-family: monospace; /* 启用等宽字体 */ border: 1px solid #000; - /* 添加边框 */ padding: 2px; - /* 添加内边距 */ - background-color: #343942ba; - /* 浅灰色背景 */ - color: #fff; + background-color: #F5F5F5; + word-wrap: break-word; + font-size: small; } .spacer { - height: 40px; + height: 30px; /* 设置行间距 */ } .input-section { - flex-basis: 50%; + flex-basis: 100%; /* 占满宽度 */ padding: 20px; border: 2px solid #000; text-align: center; - font-size: 24px; + font-size: 18px; background-color: #FFCDD2; /* 淡蓝色 */ } diff --git a/update.md b/update.md index e6a6400..4a3cf90 100644 --- a/update.md +++ b/update.md @@ -1,5 +1,10 @@ # v1.0 +## 1.2.3 + +修复了 1080p 屏幕下的一些排版问题(比如太宽啦啊啊) +还有手机上的显示问题 + ## 1.2.2 修复了不跳转根路径的问题