forked from matrix/element-web
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_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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue