From f3bf32ffc51c1bafd60f5704a638fc56cf464386 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 6 Aug 2013 16:30:28 -0700 Subject: [PATCH] add third party support section to the docs --- _includes/nav-getting-started.html | 5 ++++- getting-started.html | 35 ++++++++++++++++++++++++++++-- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/_includes/nav-getting-started.html b/_includes/nav-getting-started.html index 022d335cd6..9788facdda 100644 --- a/_includes/nav-getting-started.html +++ b/_includes/nav-getting-started.html @@ -14,9 +14,12 @@
  • Browser support
  • +
  • + Third party support +
  • License FAQs
  • Customizing Bootstrap -
  • \ No newline at end of file + diff --git a/getting-started.html b/getting-started.html index ef0bdbf53e..26787ab348 100644 --- a/getting-started.html +++ b/getting-started.html @@ -120,11 +120,11 @@ bootstrap/ -

    Bootstrap is built to work best in the latest desktop and mobile browsers, meaning older and less advanced browsers might receive a less stylized, though fully functional, version of certain components.

    @@ -153,6 +153,37 @@ bootstrap/ + +
    + +

    While we don't officially support any third party plugins or add-ons, we do offer some helpful advice to help avoid some potential issues in your projects.

    + +

    Google Maps

    +

    If you're using Google Maps on a Bootstrapped project, you might run into some display problems due to our use of * { box-sizing: border-box; }. Previously, you may have also ran into issues with the use of max-width on images. The following snippet should avoid all those problems.

    +{% highlight css %} +/* Fix Google Maps canvas + * + * Wrap your Google Maps embed in a `.google-map-canvas` to reset Bootstrap's + * global `box-sizing` changes. You may optionally need to reset the `max-width` + * on images in case you've applied that anywhere else. (That shouldn't be as + * necessary with Bootstrap 3 though as that behavior is relegated to the + * `.img-responsive` class.) + */ + +.google-map-canvas, +.google-map-canvas * { .box-sizing(content-box); } + +/* Optional responsive image override */ +img { max-width: none; } +{% endhighlight %} +
    + + + +