Refactored AddressTile to use string address rather than user object, so it can user email as well mx userId

This commit is contained in:
wmwragg 2016-09-12 16:51:42 +01:00
parent 2bf177dbcc
commit 906be376c9
2 changed files with 51 additions and 0 deletions

View file

@ -23,6 +23,7 @@ limitations under the License.
color: #454545;
font-size: 14px;
font-weight: normal;
margin-right: 4px;
}
.mx_AddressTile_network {
@ -41,6 +42,13 @@ limitations under the License.
vertical-align: middle;
}
.mx_AddressTile_mx {
display: inline-block;
margin: 0;
border: 0;
padding: 0;
}
.mx_AddressTile_name {
display: inline-block;
padding-right: 4px;
@ -71,6 +79,32 @@ limitations under the License.
vertical-align: middle;
}
.mx_AddressTile_email {
display: inline-block;
padding-right: 11px;
}
.mx_AddressTile_email.mx_AddressTile_justified {
width: 380px; /* name + id width */
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: middle;
}
.mx_AddressTile_unknown {
display: inline-block;
padding-right: 11px;
}
.mx_AddressTile_unknown.mx_AddressTile_justified {
width: 380px; /* name + id width */
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: middle;
}
.mx_AddressTile_dismiss {
display: inline-block;
padding-right: 11px;