Fix 'remove alias' button in room settings (#28269)

* fixed 'remove alias' button

* fixed 'close button'

---------

Co-authored-by: Florian Duros <florianduros@element.io>
This commit is contained in:
Devendra Gurjar 2024-10-28 19:20:29 +05:30 committed by GitHub
parent de9a2cc382
commit a2c7870810
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,10 +18,9 @@ Please see LICENSE files in the repository root for full details.
.mx_EditableItem_delete { .mx_EditableItem_delete {
@mixin customisedCancelButton; @mixin customisedCancelButton;
order: 3; order: 3;
margin-right: 5px;
vertical-align: middle; vertical-align: middle;
width: 14px; width: 28px;
height: 14px; height: 28px;
background-color: $alert; background-color: $alert;
mask-size: 100%; mask-size: 100%;
} }
@ -42,7 +41,7 @@ Please see LICENSE files in the repository root for full details.
.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 */ width: calc(100% - 28px); /* leave space for the remove button */
overflow-x: hidden; overflow-x: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }