From f1a364b270fd5df62814b0258977426da21c0951 Mon Sep 17 00:00:00 2001 From: Anuj Sharma Date: Sun, 21 Jun 2026 21:24:04 +0530 Subject: [PATCH] fix: sidebar collapse not working --- web-app/css/styles.css | 18 ++++++++++++++++++ web-app/index.html | 22 ++++++++++++---------- 2 files changed, 30 insertions(+), 10 deletions(-) diff --git a/web-app/css/styles.css b/web-app/css/styles.css index 0b92acf..3fb0972 100644 --- a/web-app/css/styles.css +++ b/web-app/css/styles.css @@ -428,12 +428,19 @@ body.sidebar-active .sidebar-dock { padding-top: 16px; border-top: 1px solid var(--border); } +.sidebar-main-controls{ + display: flex; + justify-content: center; + align-items: center; + gap: 20px; +} .sidebar-controls { display: flex; align-items: center; gap: 8px; width: 100%; + justify-content: space-around; } .sidebar-controls .sound-toggle, @@ -5378,6 +5385,8 @@ button:focus-visible, padding: 4rem 0; text-align: center; background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1)); +} + .btn-explore, .btn-secondary-hero, .btn-random-project, @@ -6359,6 +6368,15 @@ body.sidebar-collapsed .sidebar-dock .sidebar-footer span { body.sidebar-collapsed .sidebar-dock .sidebar-footer button { justify-content: center !important; + padding-top:8px ; + padding-bottom:8px ; +} + +body.sidebar-collapsed .sidebar-dock .sidebar-footer .sidebar-main-controls { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; } /* Main content shift for expanded sidebar */ diff --git a/web-app/index.html b/web-app/index.html index 11dfbf7..464e380 100644 --- a/web-app/index.html +++ b/web-app/index.html @@ -191,8 +191,8 @@ tabindex="-1" > + > + Games Arcade + + +