Skip to content

Commit

Permalink
Add 'fillAvailable' to SortableTable on bookmarksList.js and history.js
Browse files Browse the repository at this point in the history
Fixes brave#10450

It is not added to SortableTable on brave.js and torrentFileList.js

Auditors: @cezaraugusto

Test Plan:
1. Open about:bookmarks
2. Open about:history
3. Make sure the layout is not broken
  • Loading branch information
Suguru Hirahara authored and dfperry5 committed Aug 18, 2017
1 parent c625e00 commit 50fd17c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/renderer/about/bookmarks/bookmarksList.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class BookmarksList extends ImmutableComponent {
}
return <div>
<SortableTable
fillAvailable
ref='bookmarkTable'
headings={[
<BookmarkTitleHeader heading='title' selectedFolderId={this.props.selectedFolderId} />
Expand Down
4 changes: 3 additions & 1 deletion js/about/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ class HistoryDay extends ImmutableComponent {
<div className={css(styles.subTitleMargin)}>
<AboutPageSectionSubTitle>{this.props.date}</AboutPageSectionSubTitle>
</div>
<SortableTable headings={['time', 'title', 'domain']}
<SortableTable
fillAvailable
headings={['time', 'title', 'domain']}
defaultHeading='time'
defaultHeadingSortOrder='desc'
rows={this.props.entries.map((entry) => [
Expand Down

0 comments on commit 50fd17c

Please sign in to comment.