diff --git a/package-lock.json b/package-lock.json index dd6f66cc276c3c0df54a9c65792bafeb88ba6d2f..5cf49c26ec74e7aed60b18b079e1c63de3c299c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vufind", - "version": "4.1.2", + "version": "4.1.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/themes/finc/js/finc.js b/themes/finc/js/finc.js index c70b2c9a855c5c3127462f1bd6c302670ee7eddd..2108644505ad1461b3a0e9c3b285fb16ad57f5d1 100644 --- a/themes/finc/js/finc.js +++ b/themes/finc/js/finc.js @@ -1,10 +1,9 @@ // remove when fixed in BS -// Remove/add aria-hidden + add modalTitle for screen-reader access +// Remove/add aria-hidden + add modalTitle for screen-reader access, check of .focus() is necessary $(document).on('shown.bs.modal', function () { - $('#modal').attr('aria-hidden', 'false').show(); + $('#modal').attr('aria-hidden', 'false').show().focus(); $('#modal h2').attr('id', 'modalTitle'); - $('#modal').focus(); // check if necessary! }); $(document).on('hidden.bs.modal', function () { diff --git a/themes/finc/scss/compiled.scss b/themes/finc/scss/compiled.scss index 2d06c7c5fefadf48e50d736bf2fc8aab7d083565..cb253ef589b4f84090968a6f580ae75ce91c0f2d 100644 --- a/themes/finc/scss/compiled.scss +++ b/themes/finc/scss/compiled.scss @@ -68,6 +68,9 @@ section { // Add top-padding to body to accommodate fixed navbar; -- padding should equal navbar-height -- // the home page, however, has a lower navbar because there is no breadcrumbs there body { + // fix modal adding padding-right #13625 + padding-right: 0 !important; + // for mobile padding-top: $navbar-height-xs; @@ -751,7 +754,7 @@ table.collapse.in { ////// NO gutter right .no-gutter-r { - padding-right: 0; + padding-right: 0 !important; } ////// gutter left @@ -1843,6 +1846,11 @@ footer ul { } } +// fix modal adding padding-right #13625 +.modal-open { + overflow: initial; +} + // MODALS - END // Bookbag