Limit max-width for bubble layout to 1200px (#7458)
This commit is contained in:
parent
bdb40ae9d1
commit
53a72dafa9
2 changed files with 6 additions and 1 deletions
|
@ -14,6 +14,11 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
.mx_RoomView_body[data-layout=bubble] {
|
||||||
|
max-width: 1200px;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_EventTile[data-layout=bubble],
|
.mx_EventTile[data-layout=bubble],
|
||||||
.mx_EventListSummary[data-layout=bubble] {
|
.mx_EventListSummary[data-layout=bubble] {
|
||||||
--avatarSize: 32px;
|
--avatarSize: 32px;
|
||||||
|
|
|
@ -2218,7 +2218,7 @@ export class RoomView extends React.Component<IRoomProps, IRoomState> {
|
||||||
excludedRightPanelPhaseButtons={excludedRightPanelPhaseButtons}
|
excludedRightPanelPhaseButtons={excludedRightPanelPhaseButtons}
|
||||||
/>
|
/>
|
||||||
<MainSplit panel={rightPanel} resizeNotifier={this.props.resizeNotifier}>
|
<MainSplit panel={rightPanel} resizeNotifier={this.props.resizeNotifier}>
|
||||||
<div className="mx_RoomView_body">
|
<div className="mx_RoomView_body" data-layout={this.state.layout}>
|
||||||
{ mainSplitBody }
|
{ mainSplitBody }
|
||||||
</div>
|
</div>
|
||||||
</MainSplit>
|
</MainSplit>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue