diff --git a/supply.html b/supply.html index 6cbe1c1..58ba09f 100644 --- a/supply.html +++ b/supply.html @@ -79,21 +79,25 @@ margin-top: 10px; font-size: 12px; color: #666; - text-align: center; - padding: 10px; + text-align: left; + padding: 8px 12px; background-color: #f5f9ff; border-radius: 8px; border: 1px solid #e6f7ff; - line-height: 1.4; + line-height: 1; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } /* 登录信息在移动端的优化 */ @media (max-width: 768px) { #currentUserInfo { - font-size: 11px; - padding: 8px; - line-height: 1.3; + font-size: 10px; + padding: 6px 10px; + white-space: normal; + line-height: 1.2; } }