diff --git a/docs/javascript.html b/docs/javascript.html index 4418e89be92ab891be428c5da8fa1abb55c7813d..b40422ae3bd7694613e713663d284ed6f5a0b643 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 87f4d0bf52df8728e21a95d7392cf8013ad761a7..7b07d5759c77bc34b1141999f1668c282705efad 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>