Page MenuHomePhabricator

D3862.id12032.diff
No OneTemporary

D3862.id12032.diff

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

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)

Event Timeline