Skip to content

Commit

Permalink
Merge pull request #345 from matrix-org/wmwragg/modal-restyle
Browse files Browse the repository at this point in the history
Wmwragg/modal restyle
  • Loading branch information
ara4n committed Jul 15, 2016
2 parents 78b7d04 + febd211 commit ca5987b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/views/dialogs/ErrorDialog.js
Expand Up @@ -59,7 +59,7 @@ module.exports = React.createClass({
{this.props.description}
</div>
<div className="mx_Dialog_buttons">
<button onClick={this.props.onFinished} autoFocus={this.props.focus}>
<button className="mx_Dialog_primary" onClick={this.props.onFinished} autoFocus={this.props.focus}>
{this.props.button}
</button>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/dialogs/LogoutPrompt.js
Expand Up @@ -46,7 +46,7 @@ module.exports = React.createClass({
Sign out?
</div>
<div className="mx_Dialog_buttons" onKeyDown={ this.onKeyDown }>
<button autoFocus onClick={this.logOut}>Sign Out</button>
<button className="mx_Dialog_primary" autoFocus onClick={this.logOut}>Sign Out</button>
<button onClick={this.cancelPrompt}>Cancel</button>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/dialogs/NeedToRegisterDialog.js
Expand Up @@ -63,7 +63,7 @@ module.exports = React.createClass({
{this.props.description}
</div>
<div className="mx_Dialog_buttons">
<button onClick={this.props.onFinished} autoFocus={true}>
<button className="mx_Dialog_primary" onClick={this.props.onFinished} autoFocus={true}>
Cancel
</button>
<button onClick={this.onRegisterClicked}>
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/dialogs/QuestionDialog.js
Expand Up @@ -56,7 +56,7 @@ module.exports = React.createClass({
{this.props.description}
</div>
<div className="mx_Dialog_buttons">
<button onClick={this.onOk} autoFocus={this.props.focus}>
<button className="mx_Dialog_primary" onClick={this.onOk} autoFocus={this.props.focus}>
{this.props.button}
</button>

Expand Down
2 changes: 1 addition & 1 deletion src/components/views/dialogs/SetDisplayNameDialog.js
Expand Up @@ -76,7 +76,7 @@ module.exports = React.createClass({
/>
</div>
<div className="mx_Dialog_buttons">
<input type="submit" value="Set" />
<input className="mx_Dialog_primary" type="submit" value="Set" />
</div>
</form>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/dialogs/TextInputDialog.js
Expand Up @@ -86,7 +86,7 @@ module.exports = React.createClass({
<button onClick={this.onCancel}>
Cancel
</button>
<button onClick={this.onOk}>
<button className="mx_Dialog_primary" onClick={this.onOk}>
{this.props.button}
</button>
</div>
Expand Down

0 comments on commit ca5987b

Please sign in to comment.