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

Commit 53a72da

Browse files
authored
Limit max-width for bubble layout to 1200px (#7458)
1 parent bdb40ae commit 53a72da

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

res/css/views/rooms/_EventBubbleTile.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
.mx_RoomView_body[data-layout=bubble] {
18+
max-width: 1200px;
19+
margin: 0 auto;
20+
}
21+
1722
.mx_EventTile[data-layout=bubble],
1823
.mx_EventListSummary[data-layout=bubble] {
1924
--avatarSize: 32px;

src/components/structures/RoomView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2218,7 +2218,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
22182218
excludedRightPanelPhaseButtons={excludedRightPanelPhaseButtons}
22192219
/>
22202220
<MainSplit panel={rightPanel} resizeNotifier={this.props.resizeNotifier}>
2221-
<div className="mx_RoomView_body">
2221+
<div className="mx_RoomView_body" data-layout={this.state.layout}>
22222222
{ mainSplitBody }
22232223
</div>
22242224
</MainSplit>

0 commit comments

Comments
 (0)