aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/scss/_component-examples.scss1
-rw-r--r--docs/4.0/components/modal.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/assets/scss/_component-examples.scss b/assets/scss/_component-examples.scss
index f0a1bd8fd..cb9b54fb1 100644
--- a/assets/scss/_component-examples.scss
+++ b/assets/scss/_component-examples.scss
@@ -118,6 +118,7 @@
position: relative;
padding: 1rem;
margin: 1rem (-$grid-gutter-width / 2);
+ overflow: auto;
border: solid #f7f7f9;
border-width: .2rem 0 0;
@include clearfix();
diff --git a/docs/4.0/components/modal.md b/docs/4.0/components/modal.md
index 5a6e000e9..59ac96edf 100644
--- a/docs/4.0/components/modal.md
+++ b/docs/4.0/components/modal.md
@@ -459,7 +459,7 @@ For modals that simply appear rather than fade in to view, remove the `.fade` cl
### Dynamic heights
-If the height of a modal changes while it is open, you should call `$('#myModal').data('bs.modal').handleUpdate()` or `$('#myModal').modal('handleUpdate')` to readjust the modal's position in case a scrollbar appears.
+If the height of a modal changes while it is open, you should call `$('#myModal').modal('handleUpdate')` to readjust the modal's position in case a scrollbar appears.
### Accessibility