]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #10452: Add note about deprecation of .nav-divider
authorMark Otto <otto@github.com>
Thu, 5 Sep 2013 01:52:45 +0000 (18:52 -0700)
committerMark Otto <otto@github.com>
Thu, 5 Sep 2013 01:52:45 +0000 (18:52 -0700)
Should have been dropped in v3, but ah well, we missed it. So, it gets
the deprecation.

less/navs.less

index 27861f8f46fb476f49f1a47dd34f2d6aeb34f103..bdab92606b09f2c967cbb9d85906bfb17dced1eb 100644 (file)
     }
   }
 
-  // Dividers (basically an hr) within the dropdown
+  // Nav dividers (deprecated with v3.0.1)
+  //
+  // This should have been removed in v3 with the dropping of `.nav-list`, but
+  // we missed it. We don't currently support this anywhere, but in the interest
+  // of maintaining backward compatibility in case you use it, it's deprecated.
   .nav-divider {
     .nav-divider();
   }
 
   // Prevent IE8 from misplacing imgs
+  //
   // See https://github.com/h5bp/html5-boilerplate/issues/984#issuecomment-3985989
   > li > a > img {
     max-width: none;