Skip to content

Commit e2b6958

Browse files
committed
Refactor to reuse RoomSubList chevron styling
1 parent 4b50a8a commit e2b6958

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

‎src/components/structures/RoomSubList.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ var RoomSubList = React.createClass({
427427
<div className="mx_RoomSubList_line"></div>
428428
<div className="mx_RoomSubList_more">more</div>
429429
<div className="mx_RoomSubList_moreBadge"></div>
430-
<div className="mx_RoomSubList_moreChevronDown"></div>
430+
<div className="mx_RoomSubList_chevronDown"></div>
431431
</div>
432432
);
433433
},

‎src/skins/vector/css/vector-web/structures/RoomSubList.css‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,7 @@ limitations under the License.
199199
vertical-align: middle;
200200
}
201201

202-
.mx_RoomSubList_moreChevronDown {
203-
width: 0;
204-
height: 0;
205-
border-left: 5px solid transparent;
206-
border-right: 5px solid transparent;
207-
border-top: 6px solid #76cfa6;
202+
.mx_RoomSubList_ellipsis .mx_RoomSubList_chevronDown {
208203
position: absolute;
209204
top: 4px;
210205
right: 16px;

0 commit comments

Comments
 (0)