From d42c8b528eb595101954f478e0024e3f079f6fbf Mon Sep 17 00:00:00 2001 From: schneefux Date: Wed, 22 Mar 2017 19:19:26 +0100 Subject: first implementation of fun stats site --- templates/assets/bootstrap/scss/mixins/_text-truncate.scss | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 templates/assets/bootstrap/scss/mixins/_text-truncate.scss (limited to 'templates/assets/bootstrap/scss/mixins/_text-truncate.scss') diff --git a/templates/assets/bootstrap/scss/mixins/_text-truncate.scss b/templates/assets/bootstrap/scss/mixins/_text-truncate.scss new file mode 100644 index 0000000..3504bb1 --- /dev/null +++ b/templates/assets/bootstrap/scss/mixins/_text-truncate.scss @@ -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; +} -- cgit v1.3.1