- 为认证消息添加最大高度和滚动条,提高长消息的可读性 - 将警告消息颜色从黄色改为橙色,提高警示效果
@@ -600,7 +600,7 @@ checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"
[[package]]
name = "pageos-greet"
-version = "1.3.0"
+version = "1.3.1"
dependencies = [
"axum",
"clap",
@@ -1,6 +1,6 @@
[package]
authors = ["PJ568 <[email protected]>"]
edition = "2024"
license = "MPL-2.0"
@@ -65,9 +65,11 @@
border: 0.1rem solid black;
padding: 0.5rem;
font-size: smaller;
+ max-height: 10rem;
+ overflow-y: auto;
}
.auth-container .warn {
- color: yellow;
+ color: orange;
.auth-container .error {
color: red;
@@ -162,9 +162,11 @@ const INDEX_HTML: &str = r#"<!DOCTYPE html>