Move `ref` to outer div

pull/4023/head
Luke Barnard 2017-05-25 13:49:41 +01:00
parent 284aeeb43e
commit 9d28c8f577
2 changed files with 13 additions and 3 deletions

View File

@ -178,9 +178,15 @@ module.exports = React.createClass({
<div className="mx_BottomLeftMenu">
<div className="mx_BottomLeftMenu_options">
{ homeButton }
<StartChatButton ref={this._collectPeopleButton} tooltip={true} />
<RoomDirectoryButton ref={this._collectDirectoryButton} tooltip={true} />
<CreateRoomButton ref={this._collectCreateRoomButton} tooltip={true} />
<div ref={this._collectPeopleButton}>
<StartChatButton tooltip={true} />
</div>
<div ref={this._collectDirectoryButton}>
<RoomDirectoryButton tooltip={true} />
</div>
<div ref={this._collectCreateRoomButton}>
<CreateRoomButton tooltip={true} />
</div>
<span className="mx_BottomLeftMenu_settings">
<SettingsButton tooltip={true} />
</span>

View File

@ -70,6 +70,10 @@ limitations under the License.
padding-bottom: 3px ! important;
}
.mx_BottomLeftMenu_options > div {
display: inline-block;
}
.mx_BottomLeftMenu_options .mx_RoleButton {
margin-left: 0px;
margin-right: 10px;