Skip to content

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

UX: Wrap profile location and website and use ellipsis (#37883)

Bryce Huhtala9e51836553b4
diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss
index 398e4a1c55b..ff93069d90d 100644
--- a/app/assets/stylesheets/common/base/user.scss
+++ b/app/assets/stylesheets/common/base/user.scss
@@ -1221,12 +1221,18 @@
.user-profile__location-and-website {
display: flex;
+ flex-wrap: wrap;
max-width: 100%;
.user-profile-location {
margin-right: 1em;
}
+ .user-profile-location,
+ .user-profile-website {
+ @include ellipsis;
+ }
+
@include viewport.until(md) {
justify-content: center;
}