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

Commit

Permalink
Limit max-width for bubble layout to 1200px (#7458)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Jan 11, 2022
1 parent bdb40ae commit 53a72da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions res/css/views/rooms/_EventBubbleTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

.mx_RoomView_body[data-layout=bubble] {
max-width: 1200px;
margin: 0 auto;
}

.mx_EventTile[data-layout=bubble],
.mx_EventListSummary[data-layout=bubble] {
--avatarSize: 32px;
Expand Down
2 changes: 1 addition & 1 deletion src/components/structures/RoomView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2218,7 +2218,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
excludedRightPanelPhaseButtons={excludedRightPanelPhaseButtons}
/>
<MainSplit panel={rightPanel} resizeNotifier={this.props.resizeNotifier}>
<div className="mx_RoomView_body">
<div className="mx_RoomView_body" data-layout={this.state.layout}>
{ mainSplitBody }
</div>
</MainSplit>
Expand Down

0 comments on commit 53a72da

Please sign in to comment.