Refactor to reuse RoomSubList chevron styling

pull/2235/head
wmwragg 2016-09-16 11:02:09 +01:00
parent 4b50a8a56e
commit e2b695827e
2 changed files with 2 additions and 7 deletions

View File

@ -427,7 +427,7 @@ var RoomSubList = React.createClass({
<div className="mx_RoomSubList_line"></div>
<div className="mx_RoomSubList_more">more</div>
<div className="mx_RoomSubList_moreBadge"></div>
<div className="mx_RoomSubList_moreChevronDown"></div>
<div className="mx_RoomSubList_chevronDown"></div>
</div>
);
},

View File

@ -199,12 +199,7 @@ limitations under the License.
vertical-align: middle;
}
.mx_RoomSubList_moreChevronDown {
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-top: 6px solid #76cfa6;
.mx_RoomSubList_ellipsis .mx_RoomSubList_chevronDown {
position: absolute;
top: 4px;
right: 16px;