From 7ceb68d835c26d26ea34600014b42bd8c3ac8dd5 Mon Sep 17 00:00:00 2001 From: Rahul Mohata <54268438+Rahulm2310@users.noreply.github.com> Date: Wed, 22 Apr 2020 04:27:04 +0530 Subject: [PATCH] Desktop: Fixes #3095: Fixed the Goto Anything item list overflow (#3096) * fixed the Goto Anything item list overflowing * added dialog box styles --- ElectronClient/theme.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ElectronClient/theme.js b/ElectronClient/theme.js index 9198361d1..fd652d6e6 100644 --- a/ElectronClient/theme.js +++ b/ElectronClient/theme.js @@ -194,6 +194,10 @@ function addExtraStyles(style) { padding: 16, boxShadow: '6px 6px 20px rgba(0,0,0,0.5)', marginTop: 20, + maxHeight: '80%', + display: 'flex', + flexDirection: 'column', + overflow: 'auto', }; style.buttonIconStyle = {