Skip to content

Commit 9d28c8f

Browse files
author
Luke Barnard
committed
Move ref to outer div
1 parent 284aeeb commit 9d28c8f

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

‎src/components/structures/BottomLeftMenu.js‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,15 @@ module.exports = React.createClass({
178178
<div className="mx_BottomLeftMenu">
179179
<div className="mx_BottomLeftMenu_options">
180180
{ homeButton }
181-
<StartChatButton ref={this._collectPeopleButton} tooltip={true} />
182-
<RoomDirectoryButton ref={this._collectDirectoryButton} tooltip={true} />
183-
<CreateRoomButton ref={this._collectCreateRoomButton} tooltip={true} />
181+
<div ref={this._collectPeopleButton}>
182+
<StartChatButton tooltip={true} />
183+
</div>
184+
<div ref={this._collectDirectoryButton}>
185+
<RoomDirectoryButton tooltip={true} />
186+
</div>
187+
<div ref={this._collectCreateRoomButton}>
188+
<CreateRoomButton tooltip={true} />
189+
</div>
184190
<span className="mx_BottomLeftMenu_settings">
185191
<SettingsButton tooltip={true} />
186192
</span>

‎src/skins/vector/css/vector-web/structures/_LeftPanel.scss‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ limitations under the License.
7070
padding-bottom: 3px ! important;
7171
}
7272

73+
.mx_BottomLeftMenu_options > div {
74+
display: inline-block;
75+
}
76+
7377
.mx_BottomLeftMenu_options .mx_RoleButton {
7478
margin-left: 0px;
7579
margin-right: 10px;

0 commit comments

Comments
 (0)