Give the show more button some real CSS

This is still somewhat placeholder.
This commit is contained in:
Travis Ralston 2020-06-05 08:48:23 -06:00
parent 6752c2832e
commit 475ba61671
2 changed files with 10 additions and 2 deletions

View file

@ -237,11 +237,10 @@ export default class RoomSublist2 extends React.Component<IProps, IState> {
// TODO: CSS TBD
// TODO: Make this an actual tile
const moreTileHeightPx = layout.tileHeight;
visibleTiles.splice(visibleTiles.length - 1, 1, (
<div
onClick={this.onShowAllClick}
style={{height: moreTileHeightPx, lineHeight: moreTileHeightPx, cursor: 'pointer'}}
className='mx_RoomSublist2_showMoreButton'
key='showall'
>
{_t("Show %(n)s more", {n: numMissing})}