From 53da88e561abf4a5802188ff1901e6915b85c18b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 5 Feb 2012 01:49:36 -0800 Subject: add mixin for text-overflow --- docs/assets/bootstrap.zip | Bin 52391 -> 52391 bytes less/mixins.less | 9 +++++++++ 2 files changed, 9 insertions(+) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index d066288f0..0376cba14 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/less/mixins.less b/less/mixins.less index 545ccb9ba..95292a6f2 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -89,6 +89,15 @@ } } +// Text overflow +// ------------------------- +// Requires inline-block or block for proper styling +.text-overflow() { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + // FONTS -- cgit v1.2.3