From 2320a0989869900e92ab4e3cd78ffad9e6375337 Mon Sep 17 00:00:00 2001 From: Mark Otto <otto@github.com> Date: Sun, 4 Nov 2012 12:58:57 -0800 Subject: [PATCH] fix modals display in docs on tablet view --- docs/javascript.html | 2 +- docs/templates/pages/javascript.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/javascript.html b/docs/javascript.html index 4418e89be9..b40422ae3b 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">×</button> <h3>Modal header</h3> diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache index 87f4d0bf52..7b07d5759c 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">×</button> <h3>{{_i}}Modal header{{/i}}</h3> -- GitLab