From ed6790fca033db1fd75e2b5b64ba199e6235644e Mon Sep 17 00:00:00 2001 From: Kalle <38327916+Sendouc@users.noreply.github.com> Date: Mon, 5 Dec 2022 18:54:46 +0200 Subject: [PATCH] Planner: Scrollable weapons section --- app/styles/plans.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/styles/plans.css b/app/styles/plans.css index be55305ae..66151608d 100644 --- a/app/styles/plans.css +++ b/app/styles/plans.css @@ -77,9 +77,10 @@ button[data-state="closed"][aria-haspopup="dialog"] { .plans__weapons-section { position: fixed; z-index: 10; - top: 15%; + top: 10%; display: flex; - width: 130px; + width: 150px; + max-height: 85vh; flex-wrap: wrap; justify-content: center; padding: var(--s-2); @@ -87,6 +88,7 @@ button[data-state="closed"][aria-haspopup="dialog"] { border-radius: 0 var(--rounded) var(--rounded) 0; background: var(--bg-darker); gap: 2px; + overflow-y: auto; } .plans__powered-by {