aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-11-04 12:58:57 -0800
committerMark Otto <[email protected]>2012-11-04 12:58:57 -0800
commit2320a0989869900e92ab4e3cd78ffad9e6375337 (patch)
tree91bd8d176e572db6d055cd46a2736e640e9a8d55 /docs
parent22d1506d2325f432dfd35c8380b06f19b8f74441 (diff)
downloadbootstrap-2320a0989869900e92ab4e3cd78ffad9e6375337.tar.xz
bootstrap-2320a0989869900e92ab4e3cd78ffad9e6375337.zip
fix modals display in docs on tablet view
Diffstat (limited to 'docs')
-rw-r--r--docs/javascript.html2
-rw-r--r--docs/templates/pages/javascript.mustache2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 4418e89be..b40422ae3 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -181,7 +181,7 @@ $('#myModal').on('show', function (e) {
<h3>Static example</h3>
<p>A rendered modal with header, body, and set of actions in the footer.</p>
<div class="bs-docs-example" style="background-color: #f5f5f5;">
- <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto 20px; z-index: 1; max-width: 100%;">
+ <div class="modal" style="position: relative; top: auto; left: auto; right: auto; margin: 0 auto 20px; z-index: 1; max-width: 100%;">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Modal header</h3>
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index 87f4d0bf5..7b07d5759 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -111,7 +111,7 @@ $('#myModal').on('show', function (e) {
<h3>{{_i}}Static example{{/i}}</h3>
<p>{{_i}}A rendered modal with header, body, and set of actions in the footer.{{/i}}</p>
<div class="bs-docs-example" style="background-color: #f5f5f5;">
- <div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto 20px; z-index: 1; max-width: 100%;">
+ <div class="modal" style="position: relative; top: auto; left: auto; right: auto; margin: 0 auto 20px; z-index: 1; max-width: 100%;">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>{{_i}}Modal header{{/i}}</h3>