From ef80c66cea945d315336251dbb5efcb06c64189d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 20 Feb 2019 15:52:03 +0100 Subject: Refactor ellipsis CSS --- client/src/sass/include/_mixins.scss | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client/src/sass/include') diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 6fb9bf200..c2e200a14 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -18,6 +18,12 @@ } } + +@mixin ellipsis { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} /** * This mixin will crop text in block for needed amount of lines and put ellipsis at the end * -- cgit v1.2.3