Add scrolling to modal dialogs.
authorRadek Czajka <rczajka@rczajka.pl>
Tue, 6 Jul 2021 12:06:00 +0000 (14:06 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Tue, 6 Jul 2021 12:06:00 +0000 (14:06 +0200)
src/redakcja/static/js/wiki/base.js

index e69e3e1..32554b1 100644 (file)
                        $.blockUI({
                                message: this.$elem,
                                css: {
                        $.blockUI({
                                message: this.$elem,
                                css: {
-                                       'top': '25%',
-                                       'left': '25%',
-                                       'width': '50%'
+                                    'top': '25%',
+                                    'left': '25%',
+                                    'width': '50%',
+                                    'max-height': '75%',
+                                    'overflow-y': 'scroll'
                                }
                        });
                },
                                }
                        });
                },