From e6078f68224b8fb90bfd22558f228cf9862467cf Mon Sep 17 00:00:00 2001 From: "Timothy Z." Date: Fri, 1 May 2026 19:07:42 +0300 Subject: [PATCH 1/2] fix: gamepad modal overflow --- src/App/GamepadModal/styles.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App/GamepadModal/styles.less b/src/App/GamepadModal/styles.less index e512aa333..0363f7ad4 100644 --- a/src/App/GamepadModal/styles.less +++ b/src/App/GamepadModal/styles.less @@ -34,7 +34,7 @@ border-radius: var(--border-radius); background-color: var(--modal-background-color); box-shadow: var(--outer-glow); - overflow-y: auto; + overflow: hidden; .header { flex: none; @@ -89,6 +89,8 @@ gap: 3rem; padding: 0 3rem; padding-bottom: 3rem; + flex: 1; + min-height: 0; overflow-y: auto; } } From 69a11bd25daa31d894f0b172b3e7b9950d697e5c Mon Sep 17 00:00:00 2001 From: "Timothy Z." Date: Fri, 1 May 2026 19:33:46 +0300 Subject: [PATCH 2/2] fix: correctly scroll only content in modal --- src/App/GamepadModal/styles.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App/GamepadModal/styles.less b/src/App/GamepadModal/styles.less index 0363f7ad4..10dfd12ea 100644 --- a/src/App/GamepadModal/styles.less +++ b/src/App/GamepadModal/styles.less @@ -111,6 +111,7 @@ } .diagram { + flex: none; width: 100%; max-width: 48rem; height: auto; @@ -142,11 +143,13 @@ } .sections { + flex: none; display: flex; flex-direction: row; gap: 5rem; width: 100%; max-width: 56rem; + overflow: visible; } .section { @@ -154,6 +157,7 @@ display: flex; flex-direction: column; gap: 1.2rem; + overflow: visible; } .section-title {