mirror of https://github.com/vector-im/riot-web
Unbreak IRC layout when thread summary is displayed (#7066)
parent
74376f989e
commit
4b66d4a891
|
@ -41,6 +41,11 @@ $irc-line-height: $font-18px;
|
|||
margin-right: $right-padding;
|
||||
}
|
||||
|
||||
.mx_ThreadInfo {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
> .mx_EventTile_msgOption {
|
||||
order: 5;
|
||||
flex-shrink: 0;
|
||||
|
|
|
@ -1369,10 +1369,15 @@ export default class EventTile extends React.Component<IProps, IState> {
|
|||
/>
|
||||
{ keyRequestInfo }
|
||||
{ actionBar }
|
||||
{ this.props.layout === Layout.IRC && (reactionsRow) }
|
||||
{ this.props.layout === Layout.IRC && <>
|
||||
{ reactionsRow }
|
||||
{ this.renderThreadInfo() }
|
||||
</> }
|
||||
</div>
|
||||
{ this.renderThreadInfo() }
|
||||
{ this.props.layout !== Layout.IRC && (reactionsRow) }
|
||||
{ this.props.layout !== Layout.IRC && <>
|
||||
{ reactionsRow }
|
||||
{ this.renderThreadInfo() }
|
||||
</> }
|
||||
{ msgOption }
|
||||
</>)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue