From 22121e7b8f5b96e2a174bfb623adac3f3a4cbab9 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Tue, 6 Jul 2021 14:06:00 +0200 Subject: [PATCH 1/1] Add scrolling to modal dialogs. --- src/redakcja/static/js/wiki/base.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/redakcja/static/js/wiki/base.js b/src/redakcja/static/js/wiki/base.js index e69e3e1a..32554b17 100644 --- a/src/redakcja/static/js/wiki/base.js +++ b/src/redakcja/static/js/wiki/base.js @@ -273,9 +273,11 @@ $.blockUI({ message: this.$elem, css: { - 'top': '25%', - 'left': '25%', - 'width': '50%' + 'top': '25%', + 'left': '25%', + 'width': '50%', + 'max-height': '75%', + 'overflow-y': 'scroll' } }); }, -- 2.20.1