aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-02-20 15:52:03 +0100
committerChocobozzz <me@florianbigard.com>2019-02-20 15:52:03 +0100
commitef80c66cea945d315336251dbb5efcb06c64189d (patch)
tree1f40fb3c95bc285c749e035832af2bfb81decd34 /client/src/sass/include
parent6d28a5056efc68da51c7ef00d563f3557a72bc49 (diff)
downloadPeerTube-ef80c66cea945d315336251dbb5efcb06c64189d.tar.gz
PeerTube-ef80c66cea945d315336251dbb5efcb06c64189d.tar.zst
PeerTube-ef80c66cea945d315336251dbb5efcb06c64189d.zip
Refactor ellipsis CSS
Diffstat (limited to 'client/src/sass/include')
-rw-r--r--client/src/sass/include/_mixins.scss6
1 files changed, 6 insertions, 0 deletions
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 @@
18 } 18 }
19} 19}
20 20
21
22@mixin ellipsis {
23 white-space: nowrap;
24 overflow: hidden;
25 text-overflow: ellipsis;
26}
21/** 27/**
22 * This mixin will crop text in block for needed amount of lines and put ellipsis at the end 28 * This mixin will crop text in block for needed amount of lines and put ellipsis at the end
23 * 29 *