diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index b4538fe1c4..768eeb5e85 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -79,6 +79,10 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss &[data-layout=irc], &[data-layout=group] { + .mx_EventTile_e2eIcon { + position: absolute; + } + .mx_MImageBody { margin-right: 34px; } @@ -112,6 +116,10 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss line-height: $font-22px; } + .mx_EventTile_e2eIcon { + inset: 6px 0 0 44px; + } + .mx_ThreadSummary, .mx_ThreadSummaryIcon { margin-left: $left-gutter; @@ -295,14 +303,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss min-width: $font-44px; } } - - .mx_EventTile_e2eIcon { - position: absolute; - top: 6px; - left: 44px; - bottom: 0; - right: 0; - } } .mx_GenericEventListSummary:not([data-layout=bubble]) { diff --git a/res/css/views/rooms/_IRCLayout.scss b/res/css/views/rooms/_IRCLayout.scss index edd2154e29..f7748b8609 100644 --- a/res/css/views/rooms/_IRCLayout.scss +++ b/res/css/views/rooms/_IRCLayout.scss @@ -80,12 +80,7 @@ $irc-line-height: $font-18px; text-align: right; } - > .mx_EventTile_e2eIcon { - position: absolute; - right: unset; - left: unset; - top: 0; - + .mx_EventTile_e2eIcon { padding: 0; flex-shrink: 0;