Move `ref` to outer div
This commit is contained in:
parent
284aeeb43e
commit
9d28c8f577
|
@ -178,9 +178,15 @@ module.exports = React.createClass({
|
||||||
<div className="mx_BottomLeftMenu">
|
<div className="mx_BottomLeftMenu">
|
||||||
<div className="mx_BottomLeftMenu_options">
|
<div className="mx_BottomLeftMenu_options">
|
||||||
{ homeButton }
|
{ homeButton }
|
||||||
<StartChatButton ref={this._collectPeopleButton} tooltip={true} />
|
<div ref={this._collectPeopleButton}>
|
||||||
<RoomDirectoryButton ref={this._collectDirectoryButton} tooltip={true} />
|
<StartChatButton tooltip={true} />
|
||||||
<CreateRoomButton ref={this._collectCreateRoomButton} tooltip={true} />
|
</div>
|
||||||
|
<div ref={this._collectDirectoryButton}>
|
||||||
|
<RoomDirectoryButton tooltip={true} />
|
||||||
|
</div>
|
||||||
|
<div ref={this._collectCreateRoomButton}>
|
||||||
|
<CreateRoomButton tooltip={true} />
|
||||||
|
</div>
|
||||||
<span className="mx_BottomLeftMenu_settings">
|
<span className="mx_BottomLeftMenu_settings">
|
||||||
<SettingsButton tooltip={true} />
|
<SettingsButton tooltip={true} />
|
||||||
</span>
|
</span>
|
||||||
|
|
|
@ -70,6 +70,10 @@ limitations under the License.
|
||||||
padding-bottom: 3px ! important;
|
padding-bottom: 3px ! important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mx_BottomLeftMenu_options > div {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.mx_BottomLeftMenu_options .mx_RoleButton {
|
.mx_BottomLeftMenu_options .mx_RoleButton {
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
|
|
Loading…
Reference in New Issue