This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +37
-19
lines changed Expand file tree Collapse file tree 1 file changed +37
-19
lines changed Original file line number Diff line number Diff line change @@ -486,30 +486,48 @@ limitations under the License.
486486 margin-left : -9px ;
487487 }
488488
489- /* Special layout scenario for "Unable To Decrypt (UTD)" events */
490- & .mx_EventTile_bad > .mx_EventTile_line {
491- display : grid ;
492- grid-template :
493- " reply reply" auto
494- " shield body" auto
495- " shield link" auto
496- / auto 1fr ;
489+ & .mx_EventTile_bad {
490+ /* Special layout scenario for "Unable To Decrypt (UTD)" events */
491+ .mx_EventTile_line {
492+ display : grid ;
493+ grid-template :
494+ " reply reply" auto
495+ " shield body" auto
496+ " shield link" auto
497+ / auto 1fr ;
498+
499+ .mx_EventTile_e2eIcon {
500+ grid-area : shield;
501+ }
497502
498- .mx_EventTile_e2eIcon {
499- grid-area : shield ;
500- }
503+ .mx_UnknownBody {
504+ grid-area : body ;
505+ }
501506
502- .mx_UnknownBody {
503- grid-area : body ;
504- }
507+ .mx_EventTile_keyRequestInfo {
508+ grid-area : link ;
509+ }
505510
506- .mx_EventTile_keyRequestInfo {
507- grid-area : link;
511+ .mx_ReplyChain_wrapper {
512+ grid-area : reply;
513+ min-width : 0 ; // Prevent a grid blowout due to nowrap displayName
514+ }
508515 }
509516
510- .mx_ReplyChain_wrapper {
511- grid-area : reply;
512- min-width : 0 ; // Prevent a grid blowout due to nowrap displayName
517+ & .mx_EventTile_info {
518+ // "Unable To Decrypt" layout for hidden events
519+ .mx_EventTile_line {
520+ gap : 0 9px ; // 9px: margin value of E2E icon
521+ align-items : center ;
522+ grid-template :
523+ " shield source" auto
524+ " shield link" auto
525+ / auto 1fr ;
526+
527+ .mx_ViewSourceEvent {
528+ grid-area : source;
529+ }
530+ }
513531 }
514532 }
515533
You can’t perform that action at this time.
0 commit comments