Skip to content

Commit dacd99a

Browse files
committed
Fix My Account-Profile Status Truncation
1 parent 1b63469 commit dacd99a

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

src/styles.css

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,9 +1871,27 @@ html, body {
18711871
max-width: 100%;
18721872
}
18731873

1874-
.account #account-status {
1874+
#account .profile-header-info {
1875+
min-width: 0;
18751876
width: 100%;
1876-
text-align: center;
1877+
overflow: hidden;
1878+
}
1879+
1880+
#account #account-status {
1881+
display: block;
1882+
width: 100%;
1883+
white-space: nowrap;
1884+
overflow: hidden;
1885+
text-overflow: ellipsis;
1886+
word-break: break-all;
1887+
}
1888+
1889+
#account #account-status.chat-contact-status {
1890+
max-width: 200px;
1891+
overflow: hidden;
1892+
text-overflow: ellipsis;
1893+
white-space: nowrap;
1894+
display: block;
18771895
}
18781896

18791897
.account .placeholder-avatar span {
@@ -2270,7 +2288,9 @@ html, body {
22702288
margin-top: -1px;
22712289
transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1), max-height 0.3s cubic-bezier(0.34, 1, 0.64, 1), margin-bottom 0.3s cubic-bezier(0.34, 1, 0.64, 1);
22722290
max-height: none;
2273-
overflow: visible;
2291+
overflow: hidden;
2292+
white-space: nowrap;
2293+
text-overflow: ellipsis;
22742294
}
22752295

22762296
.chat-contact-status.status-hidden {

0 commit comments

Comments
 (0)