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; +}