This patch defines a CSS class, eg-wide-modal, that can be
set as the windowClass of 'lg' Boostrap modals and increase
their width from a fixed width to 95% of the window.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
}
}
+/* optional class to make 'lg' Bootstrap modals even wider */
+@media (min-width: 768px) {
+ .eg-wide-modal .modal-lg {
+ width: 95%;
+ }
+}
[%#
vim: ft=css
$modal.open({
templateUrl: './cat/bucket/record/t_merge_records',
size: 'lg',
+ windowClass: 'eg-wide-modal',
controller:
['$scope', '$modalInstance', function($scope, $modalInstance) {
$scope.records = [];