]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add mixin for text-overflow
authorMark Otto <markdotto@gmail.com>
Sun, 5 Feb 2012 09:49:36 +0000 (01:49 -0800)
committerMark Otto <markdotto@gmail.com>
Sun, 5 Feb 2012 09:49:36 +0000 (01:49 -0800)
docs/assets/bootstrap.zip
less/mixins.less

index d066288f0e03b08b2f7b97a20ecbcf6fa05396a2..0376cba14ecdb609392871c4c27038e01bc521e0 100644 (file)
Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ
index 545ccb9bad3d5b316f73745dc0b7450dfada61dc..95292a6f213132f46546e357583e2383f8bbd614 100644 (file)
   }
 }
 
+// Text overflow
+// -------------------------
+// Requires inline-block or block for proper styling
+.text-overflow() {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+
 
 
 // FONTS