Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit df407ef

Browse files
author
Germain Souquet
committed
Fix EventTileSummary layout for message bubbles
1 parent 9319f07 commit df407ef

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

res/css/views/rooms/_EventBubbleTile.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ limitations under the License.
2929
margin-right: 100px;
3030
font-size: $font-14px;
3131

32+
.mx_ThreadInfo {
33+
clear: both;
34+
width: fit-content;
35+
}
36+
3237
&.mx_EventTile_continuation {
3338
margin-top: 2px;
3439
}
@@ -108,6 +113,12 @@ limitations under the License.
108113
right: -68px;
109114
}
110115
}
116+
117+
.mx_ThreadInfo {
118+
float: right;
119+
margin-right: calc(-1 * var(--gutterSize));
120+
}
121+
111122
.mx_SenderProfile {
112123
display: none;
113124
}

res/css/views/rooms/_EventTile.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,7 @@ $hover-select-border: 4px;
690690
color: $secondary-content;
691691
box-sizing: border-box;
692692
justify-content: flex-start;
693+
clear: both;
693694

694695
&:hover, &-active {
695696
cursor: pointer;

src/components/views/rooms/EventTile.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1335,8 +1335,8 @@ export default class EventTile extends React.Component<IProps, IState> {
13351335
{ keyRequestInfo }
13361336
{ actionBar }
13371337
{ this.props.layout === Layout.IRC && (reactionsRow) }
1338-
{ this.renderThreadInfo() }
13391338
</div>
1339+
{ this.renderThreadInfo() }
13401340
{ this.props.layout !== Layout.IRC && (reactionsRow) }
13411341
{ msgOption }
13421342
</>)

0 commit comments

Comments
 (0)