From: Radek Czajka Date: Tue, 6 Jul 2021 12:06:00 +0000 (+0200) Subject: Add scrolling to modal dialogs. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/22121e7b8f5b96e2a174bfb623adac3f3a4cbab9?ds=inline;hp=b16fda1ce7ca588d38768ca05da5d3702bd135df Add scrolling to modal dialogs. --- 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' } }); },