Skip to content

Commit

Permalink
Merge branch 'master' into fix-infinite-loop
Browse files Browse the repository at this point in the history
  • Loading branch information
rezatavakoli authored Aug 21, 2020
2 parents 53981fe + 646211f commit f85b240
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ div#embedModal .fields>label {
}
.au-body .au-skip-link__link:hover,.au-skip-link__link:hover{
text-decoration:none;
color:#fff
color:#000
}
/* Questions Display */
.questionsList{
Expand Down
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
2 changes: 1 addition & 1 deletion components/User/UserProfile/PublicUserData.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class PublicUserData extends React.Component {
}
render() {
let content1 = <UserPicture picture={ this.props.user.picture } username={ this.props.user.uname } link={ false } private={ false } width={ 150 } centered={ false } size={ 'small' } aria-hidden={ 'true' } />;
let content2 = <div><h1><div className="sr-only">User: </div>{ this.props.user.displayName }</h1>
let content2 = <div><h1><span className="sr-only">User: { this.props.user.uname } </span></h1>
<div className="ui item">
<div className="item">
<div className="content">
Expand Down
2 changes: 1 addition & 1 deletion components/User/UserProfile/RecommendedDecks.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class RecommendedDecks extends React.Component {
{[...Array(size).keys()].map( (i) => <DeckCard userid={this.props.UserProfileStore.user.id} key={i} cardContent={content[i]} newTab={this.props.newTab}/>)}
</div>);
} else {
return <h3>No recommendations available</h3>;
return <h2>No recommendations available</h2>;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.9.0",
"@gov.au/skip-link": "^2.0.10",
"@gov.au/skip-link": "^2.0.16",
"async": "^2.1.5",
"babel-loader": "^8.0.0",
"babel-plugin-add-module-exports": "0.2.1",
Expand Down

0 comments on commit f85b240

Please sign in to comment.