From a38e44fd5ecfbb511fb691a4112407eff7b52670 Mon Sep 17 00:00:00 2001 From: Kris Date: Thu, 22 Sep 2022 22:19:44 -0400 Subject: [PATCH] UX: truncate site text titles in a cleaner way (#18335) --- app/assets/stylesheets/common/base/header.scss | 5 +++++ app/assets/stylesheets/desktop/header.scss | 1 - app/assets/stylesheets/mobile/header.scss | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/common/base/header.scss b/app/assets/stylesheets/common/base/header.scss index 75afb83d929..4bf326015f4 100644 --- a/app/assets/stylesheets/common/base/header.scss +++ b/app/assets/stylesheets/common/base/header.scss @@ -56,6 +56,11 @@ width: auto; } + #site-text-logo { + margin: 0; + @include ellipsis; + } + .d-icon-home { font-size: $font-up-6; } diff --git a/app/assets/stylesheets/desktop/header.scss b/app/assets/stylesheets/desktop/header.scss index f4a37592ec2..d69cb6cfd7e 100644 --- a/app/assets/stylesheets/desktop/header.scss +++ b/app/assets/stylesheets/desktop/header.scss @@ -10,7 +10,6 @@ } #site-text-logo { font-size: $font-up-3; - margin: 0; } .extra-info { &:not(.two-rows) { diff --git a/app/assets/stylesheets/mobile/header.scss b/app/assets/stylesheets/mobile/header.scss index 9a0250e6347..09c79e57caa 100644 --- a/app/assets/stylesheets/mobile/header.scss +++ b/app/assets/stylesheets/mobile/header.scss @@ -26,7 +26,6 @@ max-width: 100%; } #site-text-logo { - margin: 0; font-size: $font-up-1; } .extra-info-wrapper {