Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3381855
D3862.id12032.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1022 B
Referenced Files
None
Subscribers
None
D3862.id12032.diff
View Options
diff --git a/web/settings/relationship/friend-list-row.css b/web/settings/relationship/friend-list-row.css
--- a/web/settings/relationship/friend-list-row.css
+++ b/web/settings/relationship/friend-list-row.css
@@ -7,6 +7,12 @@
line-height: var(--line-height-display);
}
+.usernameContainer {
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+}
+
.buttons {
display: flex;
flex-direction: row;
@@ -21,6 +27,7 @@
cursor: pointer;
background: none;
border: none;
+ white-space: nowrap;
}
.destructive {
diff --git a/web/settings/relationship/friend-list-row.react.js b/web/settings/relationship/friend-list-row.react.js
--- a/web/settings/relationship/friend-list-row.react.js
+++ b/web/settings/relationship/friend-list-row.react.js
@@ -50,7 +50,7 @@
return (
<div className={css.container}>
- {userInfo.username}
+ <div className={css.usernameContainer}>{userInfo.username}</div>
<div className={css.buttons}>{buttons}</div>
</div>
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 29, 6:48 AM (21 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2595831
Default Alt Text
D3862.id12032.diff (1022 B)
Attached To
Mode
D3862: [web] Handle longer usernames in friend list
Attached
Detach File
Event Timeline
Log In to Comment