From c3560a66f35fdd34de8889aebb9f45c93c150b2c Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 1 Sep 2020 02:00:40 +0800 Subject: [PATCH] DEV: CSS truncation followup After merging this https://github.com/discourse/discourse/commit/58fe78bf2834871bc2788b770188e968e6018114#diff-fed21847d651f6eb2cc76abbd770f5f8 I noticed that the code I'm removing in this commit is causing text to be truncated a bit early on desktop. So, I'm removing it for now. --- app/assets/stylesheets/common/base/header.scss | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/assets/stylesheets/common/base/header.scss b/app/assets/stylesheets/common/base/header.scss index 0860ea94e85..1d22adb5d97 100644 --- a/app/assets/stylesheets/common/base/header.scss +++ b/app/assets/stylesheets/common/base/header.scss @@ -261,12 +261,6 @@ color: var(--header_primary); display: block; @include ellipsis; - // Some characters like '/' and 'j' can be wider than the font's em-box - // this causes some left/right text clipping with overflow hidden - // extra padding adds space to account for this; negative margin repositions - $wiggle-room: 0.15em; - padding-left: $wiggle-room; - margin-left: -#{$wiggle-room}; } .topic-statuses { .d-icon {