Skip to content

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

UX: fix name & username width on profile summary (#27925)

Kris576f880190b5
diff --git a/app/assets/stylesheets/common/base/user.scss b/app/assets/stylesheets/common/base/user.scss
index 851ac7b1003..af55e7361c6 100644
--- a/app/assets/stylesheets/common/base/user.scss
+++ b/app/assets/stylesheets/common/base/user.scss
@@ -478,10 +478,11 @@
.user-info .user-detail {
width: 100%;
.name-line {
- .username {
+ span {
width: auto;
+ }
+ .username {
overflow-wrap: anywhere;
- flex: 1 0 auto;
}
> a {
flex-wrap: nowrap;