Skip to content

Commit

Permalink
Merge pull request #1275 from slidewiki/meaningful-sequence
Browse files Browse the repository at this point in the history
Improve sequence of content
  • Loading branch information
rezatavakoli authored Aug 21, 2020
2 parents 8429b09 + b30b42a commit bd00961
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/Search/SearchResultsPanel/Facets.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ class Facets extends React.Component {
});

return <Menu.Item disabled={this.props.loading} key={`${facetField}_${index}`} name={ name } active={ isActive } onClick={this.handleFacetClick.bind(this)} onKeyPress={this.handleKeyPress.bind(this, name)} tabIndex="0">
<Label color={ labelColor }>{ item.rowCount }</Label>
{ item.text }
<Label color={ labelColor }>{ item.rowCount }</Label>
</Menu.Item>;
});

Expand Down
4 changes: 2 additions & 2 deletions components/Search/SearchResultsPanel/SearchResultsItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ class SearchResultsItem extends React.Component {
<Grid>
<Grid.Row>
<Grid.Column width={3}>
<NavLink href={result.link}>
<Image bordered src={`${Microservices.file.uri}/thumbnail/slide/${result.firstSlide}${(result.theme) ? '/' + result.theme : ''}`} alt={this.context.intl.formatMessage(this.messages.thumbnailAlt, { title: result.title })} size="small" aria-hidden="true" />
<NavLink href={result.link} aria-hidden="true" tabIndex="-1">
<Image bordered src={`${Microservices.file.uri}/thumbnail/slide/${result.firstSlide}${(result.theme) ? '/' + result.theme : ''}`} alt={this.context.intl.formatMessage(this.messages.thumbnailAlt, { title: result.title })} size="small" />
</NavLink>
</Grid.Column>
<Grid.Column width={8}>
Expand Down

0 comments on commit bd00961

Please sign in to comment.