]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
emphasize that bootstrap-rtl.css & bootstrap.css should not be used together 13499/head
authorChris Rebert <code@rebertia.com>
Sun, 4 May 2014 09:24:04 +0000 (02:24 -0700)
committerChris Rebert <code@rebertia.com>
Sun, 4 May 2014 09:24:04 +0000 (02:24 -0700)
docs/_includes/css/rtl.html

index 050c429b1fabdb9f474f22e0ace749a81000cca6..55568ccd6291fe622b097d2a5da0ad3bdbd76c65 100644 (file)
@@ -8,13 +8,18 @@
 <!-- Example: Arabic language with direction set to RTL -->
 <html lang="ar" dir="rtl">
 {% endhighlight %}
-  <p>Then, include the right-to-left CSS file in place of the default Bootstrap CSS:</p>
+  <p>Then, include the right-to-left CSS file <strong>instead of</strong> the default Bootstrap CSS:</p>
 {% highlight html %}
 <!-- Bootstrap RTL -->
 <link rel="stylesheet" href="bootstrap-rtl.css">
 {% endhighlight %}
   <p>Alternatively, you may use the minified RTL file, <code>bootstrap-rtl.min.css</code>.</p>
 
+  <div class="bs-callout bs-callout-danger">
+    <h4>Do not use in combination with <code>bootstrap.css</code></h4>
+    <p><code>bootstrap-rtl.css</code> must not be used together with <code>bootstrap.css</code>. Use either one or the other, but not both. <code>bootstrap-rtl.css</code> includes all of Bootstrap's styles, including those not affected by writing direction.</p>
+  </div>
+
   <h2 id="rtl-css-flip">CSS Flip</h2>
   <p><a href="https://github.com/twitter/css-flip">CSS Flip</a> is a project for converting left-to-right CSS files into right-to-left CSS files. We use it in our Gruntfile to automate the generation of Bootstrap's RTL CSS files.</p>
 </div>