From 295928a335143b2c42bc0e8dbf23532badccdbf9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 May 2020 17:31:20 +0200 Subject: Remove dots for long texts in multiline It's confusing, as we don't understand what are these dots: http://lutim.cpy.re/1AkiPBVf.png --- client/src/sass/include/_mixins.scss | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index f384cbfab..f157ded5e 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -29,31 +29,6 @@ line-height: $font-size; overflow: hidden; text-overflow: ellipsis; - /* Let space at right for dots */ - position: relative; - margin-right: -1em; - padding-right: 1em; - - /* Display dots if the max number of lines is exceeded */ - &::before { - content: "..."; - /* set position to right bottom corner of block */ - position: absolute; - bottom: 0; - right: 0; - } - - /* Hide dots if the max number of lines is not exceeded */ - &:after { - content: ''; - background-color: var(--mainBackgroundColor); - /* set position to right bottom corner of text */ - position: absolute; - right: 0; - width: 1em; - height: 1em; - margin-top: 0.2em; - } } @mixin prefix($property, $parameters...) { -- cgit v1.2.3