@@ -130,6 +130,7 @@ limitations under the License.
130
130
131
131
.mx_CopyableText {
132
132
width : unset ; // full width
133
+ margin-bottom : 0 ;
133
134
134
135
> a {
135
136
text-decoration : none ;
@@ -270,44 +271,54 @@ limitations under the License.
270
271
271
272
.mx_InviteDialog_other {
272
273
// Prevent the dialog from jumping around randomly when elements change.
273
- height : 600px ;
274
+ display : flex ;
275
+ flex-direction : column ;
276
+ max-height : 600px ;
277
+ overflow : hidden ;
274
278
275
279
.mx_InviteDialog_addressBar {
276
280
margin-right : 0 ;
277
281
}
278
282
279
283
.mx_InviteDialog_userSections {
280
- height : calc (100% - 115px ); // mx_InviteDialog's height minus some for the upper and lower elements
281
284
padding-right : 0 ;
282
285
283
286
.mx_InviteDialog_section {
284
287
padding-bottom : 0 ;
285
288
margin-top : 12px ;
286
289
}
287
290
}
288
-
289
- .mx_InviteDialog_hasFooter {
290
- .mx_InviteDialog_userSections {
291
- height : calc (100% - 175px ); // For displaying an invite link on the footer of the dialog
292
- }
293
- }
294
291
}
295
292
296
293
.mx_InviteDialog_content {
297
- height : calc (100% - 36px ); // full height minus the size of the header
294
+ display : flex ;
295
+ flex-direction : column ;
296
+ flex-shrink : 1 ;
298
297
overflow : hidden ;
299
298
}
300
299
301
300
.mx_InviteDialog_transfer {
302
- width : 496px ;
303
- height : 466px ;
304
- flex-direction : column ;
301
+ width : auto ;
305
302
306
303
.mx_InviteDialog_content {
307
- flex-direction : column ;
304
+ width : 496px ;
305
+ height : 430px ;
308
306
309
307
.mx_TabbedView {
310
- height : calc (100% - 60px );
308
+ display : flex ;
309
+ flex-direction : column ;
310
+ flex-shrink : 1 ;
311
+ flex-grow : 1 ;
312
+ min-height : 0 ;
313
+
314
+ .mx_TabbedView_tabPanel {
315
+ flex-direction : column ;
316
+
317
+ .mx_TabbedView_tabPanelContent {
318
+ display : flex ;
319
+ flex-direction : column ;
320
+ }
321
+ }
311
322
}
312
323
overflow : visible ;
313
324
}
@@ -327,10 +338,6 @@ limitations under the License.
327
338
padding : 0 45px 4px 0 ;
328
339
}
329
340
330
- .mx_InviteDialog_hasFooter .mx_InviteDialog_userSections {
331
- height : calc (100% - 175px );
332
- }
333
-
334
341
.mx_InviteDialog_helpText {
335
342
margin : 0 ;
336
343
}
@@ -380,14 +387,13 @@ limitations under the License.
380
387
381
388
.mx_InviteDialog_transferConsultConnect {
382
389
padding-top : 16px ;
383
- /* This wants a drop shadow the full width of the dialog, so relative-position it
384
- * and make it wider, then compensate with padding
390
+ /* This wants a drop shadow the full width of the dialog, so use negative margin to make it full width,
391
+ * then compensate with padding
385
392
*/
386
- position : relative ;
387
- width : 496px ;
388
- left : -24px ;
389
393
padding-left : 24px ;
390
394
padding-right : 24px ;
395
+ margin-left : -24px ;
396
+ margin-right : -24px ;
391
397
border-top : 1px solid $quinary-content ;
392
398
393
399
display : flex ;
0 commit comments