Skip to content

A platform for community discussion. Free, open, simple.

UX: truncate site text titles in a cleaner way (#18335)

Krisa38e44fd5ecf
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 {