This commit is contained in:
shenjack 2024-08-24 23:55:10 +08:00
parent cf3ac21cbb
commit 160e60a3cf
Signed by: shenjack
GPG Key ID: 7B1134A979775551
4 changed files with 21 additions and 25 deletions

2
Cargo.lock generated
View File

@ -2591,7 +2591,7 @@ dependencies = [
[[package]] [[package]]
name = "sr_download" name = "sr_download"
version = "1.2.2" version = "1.2.3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"axum", "axum",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "sr_download" name = "sr_download"
version = "1.2.2" version = "1.2.3"
edition = "2021" edition = "2021"
default-run = "sr_download" default-run = "sr_download"

View File

@ -16,17 +16,18 @@
-ms-flex-direction: row; -ms-flex-direction: row;
flex-direction: row; flex-direction: row;
justify-content: center; justify-content: center;
gap: 20px; gap: 10px;
width: 80%; width: 100%;
margin: 0 auto; margin: 0 auto;
} }
.box { .box, .box2 {
width: 80%; width: 40%;
padding: 40px; padding: 20px;
flex-basis: 100%;
border: 2px solid #000; border: 2px solid #000;
text-align: center; text-align: center;
font-size: 24px; font-size: medium;
} }
.box:nth-child(1) { .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) { .box2:nth-child(1) {
background-color: #BBDEFB; background-color: #BBDEFB;
/* 淡蓝色 */ /* 淡蓝色 */
} }
.title { .title {
font-size: 40px; font-size: 30px;
margin-bottom: 10px; margin-bottom: 10px;
} }
@ -61,26 +54,24 @@
font-family: monospace; font-family: monospace;
/* 启用等宽字体 */ /* 启用等宽字体 */
border: 1px solid #000; border: 1px solid #000;
/* 添加边框 */
padding: 2px; padding: 2px;
/* 添加内边距 */ background-color: #F5F5F5;
background-color: #343942ba; word-wrap: break-word;
/* 浅灰色背景 */ font-size: small;
color: #fff;
} }
.spacer { .spacer {
height: 40px; height: 30px;
/* 设置行间距 */ /* 设置行间距 */
} }
.input-section { .input-section {
flex-basis: 50%; flex-basis: 100%;
/* 占满宽度 */ /* 占满宽度 */
padding: 20px; padding: 20px;
border: 2px solid #000; border: 2px solid #000;
text-align: center; text-align: center;
font-size: 24px; font-size: 18px;
background-color: #FFCDD2; background-color: #FFCDD2;
/* 淡蓝色 */ /* 淡蓝色 */
} }

View File

@ -1,5 +1,10 @@
# v1.0 # v1.0
## 1.2.3
修复了 1080p 屏幕下的一些排版问题(比如太宽啦啊啊)
还有手机上的显示问题
## 1.2.2 ## 1.2.2
修复了不跳转根路径的问题 修复了不跳转根路径的问题