From 06f7f95b986f1ac7bebfaacb640cd3f4552edd42 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Tue, 12 Dec 2023 23:15:13 -0500 Subject: [PATCH] fix(ags): make scrollbar appear only when needed --- devices/wim/config/ags/js/applauncher/main.js | 1 + devices/wim/config/ags/js/notifications/center.js | 1 + 2 files changed, 2 insertions(+) diff --git a/devices/wim/config/ags/js/applauncher/main.js b/devices/wim/config/ags/js/applauncher/main.js index e70199d..cf6ef32 100644 --- a/devices/wim/config/ags/js/applauncher/main.js +++ b/devices/wim/config/ags/js/applauncher/main.js @@ -112,6 +112,7 @@ const Applauncher = ({ window_name = 'applauncher' } = {}) => { Scrollable({ hscroll: 'never', + vscroll: 'automatic', child: Box({ vertical: true, children: [list, placeholder], diff --git a/devices/wim/config/ags/js/notifications/center.js b/devices/wim/config/ags/js/notifications/center.js index 0dae8f7..d05585c 100644 --- a/devices/wim/config/ags/js/notifications/center.js +++ b/devices/wim/config/ags/js/notifications/center.js @@ -115,6 +115,7 @@ export default () => Box({ Scrollable({ className: 'notification-list-box', hscroll: 'never', + vscroll: 'automatic', child: Box({ className: 'notification-list', vertical: true,