From d7ba3154a1b027ad85da37c23b5ad6b759a81fbb Mon Sep 17 00:00:00 2001 From: adlee-was-taken Date: Sun, 22 Feb 2026 17:45:36 -0500 Subject: [PATCH] Scope container margin-top to mobile-portrait only Remove margin-top from base rules/leaderboard/matchmaking styles so desktop and landscape layouts are unaffected. The 50px top margin is now only applied via the mobile-portrait override. Co-Authored-By: Claude Opus 4.6 --- client/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/style.css b/client/style.css index 4dc4b5f..74aa112 100644 --- a/client/style.css +++ b/client/style.css @@ -2848,7 +2848,7 @@ input::placeholder { border-radius: 12px; padding: 20px 35px; border: 1px solid rgba(255, 255, 255, 0.1); - margin-top: 50px; + margin-top: 0; scroll-behavior: smooth; } @@ -3444,7 +3444,6 @@ input::placeholder { #matchmaking-screen { text-align: center; padding: 40px 20px; - margin-top: 50px; } #matchmaking-screen h2 { @@ -3517,7 +3516,7 @@ input::placeholder { border-radius: 12px; padding: 20px 25px; border: 1px solid rgba(255, 255, 255, 0.1); - margin-top: 50px; + margin-top: 0; } .leaderboard-header { @@ -5017,7 +5016,8 @@ body.mobile-portrait .game-header #leave-game-btn { } body.mobile-portrait .rules-container, -body.mobile-portrait .leaderboard-container { +body.mobile-portrait .leaderboard-container, +body.mobile-portrait #matchmaking-screen { margin-top: 50px; }