Skip to content

Commit 48501d9

Browse files
committed
Added justification for the AddressTile, when requested
1 parent ace0e01 commit 48501d9

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

src/skins/vector/css/matrix-react-sdk/views/dialogs/ChatInviteDialog.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ limitations under the License.
6060
}
6161

6262
.mx_ChatInviteDialog_queryListElement.mx_ChatInviteDialog_selected {
63-
background-color: #ddd; /* selected colour */
63+
background-color: #eaf5f0; /* selected colour */
6464
}
6565

6666
.mx_ChatInviteDialog_queryListElement.mx_ChatInviteDialog_selected .mx_AddressTile {
67-
background-color: #ddd; /* selected colour */
68-
border: solid 1px #ddd; /* selected colour */
67+
background-color: #eaf5f0; /* selected colour */
68+
border: solid 1px #eaf5f0; /* selected colour */
6969
}
7070

7171
.mx_ChatInviteDialog_cancel {

src/skins/vector/css/matrix-react-sdk/views/elements/AddressTile.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,25 @@ limitations under the License.
3939
font-weight: 600;
4040
}
4141

42+
.mx_AddressTile_name.mx_AddressTile_justified {
43+
width: 120px;
44+
overflow: hidden;
45+
white-space: nowrap;
46+
text-overflow: ellipsis;
47+
}
48+
4249
.mx_AddressTile_id {
4350
display: inline-block;
4451
padding-right: 11px;
4552
}
4653

54+
.mx_AddressTile_id.mx_AddressTile_justified {
55+
width: 200px;
56+
overflow: hidden;
57+
white-space: nowrap;
58+
text-overflow: ellipsis;
59+
}
60+
4761
.mx_AddressTile_dismiss {
4862
display: inline-block;
4963
padding-right: 11px;

0 commit comments

Comments
 (0)