Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2359 from matrix-org/bwindels/higherdensityroomlist
Browse files Browse the repository at this point in the history
Redesign: make room tiles less high so more rooms fit on the screen
  • Loading branch information
bwindels authored Dec 17, 2018
2 parents bdbf6f8 + 0496ed5 commit e26fd6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions res/css/views/rooms/_RoomTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ limitations under the License.
flex-direction: row;
align-items: center;
cursor: pointer;
height: 40px;
height: 34px;
margin: 0;
padding: 0 8px 0 10px;
position: relative;
Expand Down Expand Up @@ -51,8 +51,6 @@ limitations under the License.
.mx_RoomTile_avatar {
flex: 0;
padding: 4px;
width: 32px;
height: 32px;
}

.mx_RoomTile_avatar_container {
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/rooms/RoomTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ module.exports = React.createClass({
>
<div className={avatarClasses}>
<div className="mx_RoomTile_avatar_container">
<RoomAvatar room={this.props.room} width={32} height={32} />
<RoomAvatar room={this.props.room} width={24} height={24} />
{ dmIndicator }
</div>
</div>
Expand Down

0 comments on commit e26fd6c

Please sign in to comment.