sync
[roojs1] / scss / bootstrap / mixins / _text-truncate.scss
diff --git a/scss/bootstrap/mixins/_text-truncate.scss b/scss/bootstrap/mixins/_text-truncate.scss
new file mode 100644 (file)
index 0000000..3504bb1
--- /dev/null
@@ -0,0 +1,8 @@
+// Text truncate
+// Requires inline-block or block for proper styling
+
+@mixin text-truncate() {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}