Room list fixes for custom status

pull/21833/head
J. Ryan Stinnett 2019-01-03 18:36:57 -06:00
parent 46aa543934
commit 920911c0a1
2 changed files with 13 additions and 4 deletions

View File

@ -50,11 +50,18 @@ limitations under the License.
.mx_RoomTile_nameContainer {
display: inline-block;
display: flex;
align-items: center;
width: 180px;
vertical-align: middle;
}
.mx_RoomTile_labelContainer {
display: flex;
flex-direction: column;
flex: 1;
}
.mx_RoomTile_avatar {
flex: 0;
padding: 4px;
@ -103,7 +110,7 @@ limitations under the License.
flex: 1 5 auto;
font-size: 14px;
font-weight: 600;
padding: 6px;
padding: 0 6px;
color: $roomtile-name-color;
white-space: nowrap;
overflow-x: hidden;

View File

@ -354,8 +354,10 @@ module.exports = React.createClass({
</div>
</div>
<div className="mx_RoomTile_nameContainer">
{ label }
{ subtextLabel }
<div className="mx_RoomTile_labelContainer">
{ label }
{ subtextLabel }
</div>
{ contextMenuButton }
{ badge }
</div>