Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
fix: increase review sentences per page to 5 (fixes #174)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKohler committed Apr 14, 2019
1 parent 128f47b commit f674783
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web/css/review-form.css
@@ -1,5 +1,5 @@
.validator {
--validator-height: 8rem;
--validator-height: 5.8rem;
height: var(--validator-height);
display: flex;
flex-direction: row;
Expand Down
3 changes: 0 additions & 3 deletions web/src/components/pages/review.jsx
Expand Up @@ -176,9 +176,6 @@ export default class Review extends React.Component {
<div>
<section>
<h1>Review Sentences</h1>
<label className="language-selector-label" htmlFor="language-selector-review">
Language to review
</label>
<LanguageSelector name="language-selector-review" only={this.props.languages}
selected={this.getLanguageFromParams()} onChange={this.onSelectLanguage} />
</section>
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/review-form.jsx
Expand Up @@ -3,7 +3,7 @@ import React from 'react';
import '../../css/review-form.css';
import SpinnerButton from './spinner-button';

const PAGE_SIZE = 3;
const PAGE_SIZE = 5;
const DEFAULT_STATE = {
page: 0,
reviewed: [],
Expand Down

0 comments on commit f674783

Please sign in to comment.