Remove mx_GroupLayout (#8876)
This commit is contained in:
parent
eca14dea57
commit
4b2a922e2e
7 changed files with 3 additions and 19 deletions
|
@ -276,7 +276,6 @@ const ForwardDialog: React.FC<IProps> = ({ matrixClient: cli, event, permalinkCr
|
|||
<h3>{ _t("Message preview") }</h3>
|
||||
<div className={classnames("mx_ForwardDialog_preview", {
|
||||
"mx_IRCLayout": previewLayout == Layout.IRC,
|
||||
"mx_GroupLayout": previewLayout == Layout.Group,
|
||||
})}>
|
||||
<EventTile
|
||||
mxEvent={mockEvent}
|
||||
|
|
|
@ -20,7 +20,6 @@ import { IEventRelation, MatrixEvent } from 'matrix-js-sdk/src/models/event';
|
|||
import { EventTimelineSet } from 'matrix-js-sdk/src/models/event-timeline-set';
|
||||
import { NotificationCountType, Room } from 'matrix-js-sdk/src/models/room';
|
||||
import { Thread } from 'matrix-js-sdk/src/models/thread';
|
||||
import classNames from 'classnames';
|
||||
|
||||
import BaseCard from "./BaseCard";
|
||||
import ResizeNotifier from '../../../utils/ResizeNotifier';
|
||||
|
@ -203,11 +202,6 @@ export default class TimelineCard extends React.Component<IProps, IState> {
|
|||
? this.state.initialEventId
|
||||
: null;
|
||||
|
||||
const messagePanelClassNames = classNames({
|
||||
"mx_RoomView_messagePanel": true,
|
||||
"mx_GroupLayout": this.state.layout === Layout.Group,
|
||||
});
|
||||
|
||||
let jumpToBottom;
|
||||
if (!this.state.atEndOfLiveTimeline) {
|
||||
jumpToBottom = (<JumpToBottomButton
|
||||
|
@ -254,7 +248,7 @@ export default class TimelineCard extends React.Component<IProps, IState> {
|
|||
hideThreadedMessages={false}
|
||||
hidden={false}
|
||||
showReactions={true}
|
||||
className={messagePanelClassNames}
|
||||
className="mx_RoomView_messagePanel"
|
||||
permalinkCreator={this.props.permalinkCreator}
|
||||
membersLoaded={true}
|
||||
editState={this.state.editState}
|
||||
|
|
|
@ -440,7 +440,6 @@ export default class MessageComposer extends React.Component<IProps, IState> {
|
|||
|
||||
const classes = classNames({
|
||||
"mx_MessageComposer": true,
|
||||
"mx_GroupLayout": true,
|
||||
"mx_MessageComposer--compact": this.props.compact,
|
||||
"mx_MessageComposer_e2eStatus": this.props.e2eStatus != undefined,
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue