Merge pull request #4495 from matrix-org/t3chguy/local_alias_remove

cap width of editable item list item to leave space for its X button
This commit is contained in:
Michael Telatynski 2020-04-27 18:36:39 +01:00 committed by GitHub
commit c537b81bea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,6 +53,9 @@ limitations under the License.
.mx_EditableItem_item { .mx_EditableItem_item {
flex: auto 1 0; flex: auto 1 0;
order: 1; order: 1;
width: calc(100% - 14px); // leave space for the remove button
overflow-x: hidden;
text-overflow: ellipsis;
} }
.mx_EditableItemList_label { .mx_EditableItemList_label {