From f700c39143be7e1385383fb8428397b340e34be5 Mon Sep 17 00:00:00 2001 From: Default User Date: Wed, 25 Feb 2026 12:14:57 +0800 Subject: [PATCH] fix-layout --- pages/qrcode/index.wxss | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pages/qrcode/index.wxss b/pages/qrcode/index.wxss index cf63f36..954d9f2 100644 --- a/pages/qrcode/index.wxss +++ b/pages/qrcode/index.wxss @@ -3,8 +3,9 @@ margin: 0 auto; background-color: white; min-height: 100vh; - padding: 20px; + padding: 20px 20px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; + box-sizing: border-box; } .user-info { @@ -76,7 +77,9 @@ background-color: #f8f9fa; border-radius: 8px; padding: 15px; - margin: 20px 0; + margin: 20px auto; + max-width: 100%; + box-sizing: border-box; } .info-box-title { @@ -187,7 +190,9 @@ display: flex; flex-direction: column; gap: 15px; - margin-top: 30px; + margin: 30px auto; + max-width: 100%; + box-sizing: border-box; } .action-btn {