From 50b9c7339a25265f42130907ca33684e74126a2a Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 17 Aug 2013 17:38:53 -0700 Subject: [PATCH 1/4] comma & in "Modals and mobile devices" docs --- getting-started.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started.html b/getting-started.html index 5da537393e..6c3912e987 100644 --- a/getting-started.html +++ b/getting-started.html @@ -375,7 +375,7 @@ if (navigator.userAgent.match(/IEMobile\/10\.0/)) {

Modals and mobile devices

Support for overflow: hidden on the <body> element is quite limited in iOS and Android. To that end, when you scroll past the top or bottom of a modal in either of those devices' browsers, the <body> content will begin to scroll.

-

Also, note that if you're using inputs in your modal – iOS has a rendering bug which doesn't update the position of fixed elements when the virtual keyboard is triggered. There are a few work arounds for this including transforming your elements to position absolute or invoking a timer on focus to try to correct the positioning manually. This is not handled by Bootstrap, so it is up to you to decide which solution is best for your application.

+

Also, note that if you're using inputs in your modal – iOS has a rendering bug which doesn't update the position of fixed elements when the virtual keyboard is triggered. There are a few work arounds for this, including transforming your elements to position: absolute or invoking a timer on focus to try to correct the positioning manually. This is not handled by Bootstrap, so it is up to you to decide which solution is best for your application.

Browser zooming

Page zooming inevitably presents rendering artifacts in some components, both in Bootstrap and the rest of the web. Depending on the issue, we may be able to fix it (search first and then open an issue if need be). However, we tend to ignore these as they often have no direct solution other than hacky workarounds.

From cc3077ac17eac65837b81ec0d289c3913383c9a0 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 17 Aug 2013 17:41:47 -0700 Subject: [PATCH 2/4] improve grammar in "Disabling responsiveness" docs --- getting-started.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getting-started.html b/getting-started.html index 6c3912e987..fda396a9e1 100644 --- a/getting-started.html +++ b/getting-started.html @@ -254,7 +254,7 @@ bootstrap/ -

Don't want your site or application to be scale on different device? With a little bit of work, you can disable the responsive features of Bootstrap so that mobile users see your full desktop-version site.

+

Don't want your site or application to be scaled on different devices? With a little bit of work, you can disable the responsive features of Bootstrap so that mobile users see your full desktop-version site.

Steps to disable responsive views

To disable responsive features, follow these steps. See it in action in the modified template below.

From 405df13044adcbb5925159726a0b64918c8e263a Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 17 Aug 2013 17:44:42 -0700 Subject: [PATCH 3/4] fix typo in JS docs --- javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript.html b/javascript.html index 1d4604afc4..c9228c2115 100644 --- a/javascript.html +++ b/javascript.html @@ -1104,7 +1104,7 @@ $('#myTooltip').on('hidden.bs.tooltip', function () { string | false false -

Appends the popover to a specific element. Example: container: 'body'. This option is particularly useful inthat it allows you to position the popover in the flow of the document near the triggering element - which will prevent the popover from floating away from the triggering element during a window resize.

+

Appends the popover to a specific element. Example: container: 'body'. This option is particularly useful in that it allows you to position the popover in the flow of the document near the triggering element - which will prevent the popover from floating away from the triggering element during a window resize.

From 3780edd956e0666361ef2a366945455d78ff9183 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 17 Aug 2013 19:00:05 -0700 Subject: [PATCH 4/4] update examples to use new .btn-lg class --- examples/jumbotron-narrow/index.html | 2 +- examples/jumbotron/index.html | 2 +- examples/justified-nav/index.html | 2 +- examples/navbar-fixed-top/index.html | 2 +- examples/navbar-static-top/index.html | 2 +- examples/navbar/index.html | 2 +- examples/signin/index.html | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/jumbotron-narrow/index.html b/examples/jumbotron-narrow/index.html index c8b0fe9203..2c70f9148e 100644 --- a/examples/jumbotron-narrow/index.html +++ b/examples/jumbotron-narrow/index.html @@ -31,7 +31,7 @@

Jumbotron heading

Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

-

Sign up today

+

Sign up today

diff --git a/examples/jumbotron/index.html b/examples/jumbotron/index.html index 1f81291283..23db4b6e61 100644 --- a/examples/jumbotron/index.html +++ b/examples/jumbotron/index.html @@ -65,7 +65,7 @@

Hello, world!

This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.

-

Learn more »

+

Learn more »

diff --git a/examples/justified-nav/index.html b/examples/justified-nav/index.html index 431b2780dd..46ebb6d69c 100644 --- a/examples/justified-nav/index.html +++ b/examples/justified-nav/index.html @@ -36,7 +36,7 @@

Marketing stuff!

Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet.

-

Get started today

+

Get started today

diff --git a/examples/navbar-fixed-top/index.html b/examples/navbar-fixed-top/index.html index 2340bcfaee..d1f1944e15 100644 --- a/examples/navbar-fixed-top/index.html +++ b/examples/navbar-fixed-top/index.html @@ -64,7 +64,7 @@

This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.

To see the difference between static and fixed top navbars, just scroll.

- View navbar docs » + View navbar docs »

diff --git a/examples/navbar-static-top/index.html b/examples/navbar-static-top/index.html index 7bf1deccb6..753e916a47 100644 --- a/examples/navbar-static-top/index.html +++ b/examples/navbar-static-top/index.html @@ -65,7 +65,7 @@

This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.

To see the difference between static and fixed top navbars, just scroll.

- View navbar docs » + View navbar docs »

diff --git a/examples/navbar/index.html b/examples/navbar/index.html index ee2ba19b66..6f4cefe31a 100644 --- a/examples/navbar/index.html +++ b/examples/navbar/index.html @@ -62,7 +62,7 @@

Navbar example

This example is a quick exercise to illustrate how the default, static navbar and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.

- View navbar docs » + View navbar docs »

diff --git a/examples/signin/index.html b/examples/signin/index.html index fefb73386e..7c491ae9c8 100644 --- a/examples/signin/index.html +++ b/examples/signin/index.html @@ -27,7 +27,7 @@ - +