Merge pull request #4907 from matrix-org/travis/room-list/raise

Decrease default visible rooms down to 5
This commit is contained in:
Travis Ralston 2020-07-07 06:54:49 -06:00 committed by GitHub
commit d04bcdfa15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,8 +85,8 @@ export class ListLayout {
}
public get defaultVisibleTiles(): number {
// 10 is what "feels right", and mostly subject to design's opinion.
return 10 + RESIZER_BOX_FACTOR;
// This number is what "feels right", and mostly subject to design's opinion.
return 5 + RESIZER_BOX_FACTOR;
}
public setVisibleTilesWithin(diff: number, maxPossible: number) {