File tree Expand file tree Collapse file tree 2 files changed +12
-17
lines changed Expand file tree Collapse file tree 2 files changed +12
-17
lines changed Original file line number Diff line number Diff line change @@ -243,10 +243,12 @@ limitations under the License.
243243 }
244244
245245 .mx_EventTile_line {
246+ --EventBubbleTile_line-margin-inline-end : -12px ;
247+
246248 position : relative ;
247249 display : flex ;
248250 gap : 5px ;
249- margin : 0 -12 px 0 -9px ;
251+ margin : 0 var ( --EventBubbleTile_line-margin-inline-end ) 0 -9px ;
250252 border-top-left-radius : var (--cornerRadius );
251253 border-top-right-radius : var (--cornerRadius );
252254
Original file line number Diff line number Diff line change @@ -895,7 +895,7 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
895895 margin-inline-end : var (--BaseCard_EventTile-spacing-horizontal );
896896
897897 .mx_EventTile_line.mx_EventTile_mediaLine {
898- padding : 0 !important ;
898+ padding : 0 ;
899899 max-width : 100% ;
900900
901901 .mx_MFileBody {
@@ -907,7 +907,7 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
907907 align-items : flex-end ;
908908
909909 .mx_EventTile_line.mx_EventTile_mediaLine {
910- margin : 0 -13 px 0 0 ; // align with normal messages
910+ margin : 0 var ( --EventBubbleTile_line-margin-inline-end ) 0 0 ; // align with normal messages
911911 }
912912 }
913913 }
@@ -935,6 +935,13 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
935935 }
936936 }
937937
938+ .mx_MFileBody ,
939+ .mx_MImageBody {
940+ display : block ; // Apply margin to span element
941+ margin-inline-start : var (--ThreadView_group_spacing-start );
942+ margin-inline-end : var (--ThreadView_group_spacing-end );
943+ }
944+
938945 .mx_ReplyChain_wrapper {
939946 .mx_MLocationBody {
940947 margin-inline-start : 0 ;
@@ -965,20 +972,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
965972 }
966973 }
967974 }
968-
969- .mx_EventTile_mediaLine {
970- padding-inline-start : var (--ThreadView_group_spacing-start );
971- }
972- }
973-
974- .mx_EventTile_mediaLine {
975- padding-inline-start : var (--BaseCard_EventTile-spacing-horizontal );
976- padding-right : 50px ;
977-
978- .mx_MImageBody {
979- margin : 0 ;
980- padding : 0 ;
981- }
982975 }
983976
984977 .mx_MessageComposer_sendMessage {
You can’t perform that action at this time.
0 commit comments