From c9c43722a736b422e9ae7850dcf2583883643e66 Mon Sep 17 00:00:00 2001 From: Jonathan Ginn Date: Mon, 23 Jan 2017 10:52:16 +0000 Subject: [PATCH] Update _mixins.scss --- scss/_mixins.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scss/_mixins.scss b/scss/_mixins.scss index 172c328..af66a4e 100644 --- a/scss/_mixins.scss +++ b/scss/_mixins.scss @@ -151,4 +151,10 @@ $em-base: 14px; @mixin fontsizr($small, $medium, $large: false) { @include fontsizer($small, $medium, $large); -} \ No newline at end of file +} + +@mixin truncate() { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +}