Make invitation dialog scrollable when infos are too long (#11753)
* make invitation dialog scrollable when room name or invitation text/info is too long. Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net> * truncate room name in invitation dialog to two lines Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net> * truncate room name in invitation dialog to two lines Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net> * fix linter issue Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net> --------- Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net>
This commit is contained in:
parent
827715cf1e
commit
b2fb41b91c
2 changed files with 21 additions and 0 deletions
|
@ -194,6 +194,14 @@ limitations under the License.
|
||||||
height: 600px;
|
height: 600px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_InviteDialog_addressBar {
|
.mx_InviteDialog_addressBar {
|
||||||
margin-inline-end: 0;
|
margin-inline-end: 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -140,6 +140,19 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.mx_RoomPreviewBar_Invite {
|
||||||
|
max-height: 100vh;
|
||||||
|
overflow-y: auto;
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mx_RoomPreviewBar_Invite h3 {
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_RoomPreviewBar_inviter {
|
.mx_RoomPreviewBar_inviter {
|
||||||
font-weight: var(--cpd-font-weight-semibold);
|
font-weight: var(--cpd-font-weight-semibold);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue