Tweak prompt button icon

This commit is contained in:
Gregory Schier
2017-06-01 17:00:57 -07:00
parent 4b98c23d44
commit cb0fa272b3
2 changed files with 10 additions and 7 deletions

View File

@@ -86,12 +86,16 @@ class PromptButton extends PureComponent {
let innerMsg;
if (state === STATE_ASK && addIcon) {
innerMsg = (
<span className="danger">
<i className="fa fa-exclamation-circle"/> {CONFIRM_MESSAGE}
<span className="warning" title="Click again to confirm">
<i className="fa fa-minus-circle"/> {CONFIRM_MESSAGE}
</span>
);
} else if (state === STATE_ASK) {
innerMsg = <span className="danger">{CONFIRM_MESSAGE}</span>;
innerMsg = (
<span className="warning" title="Click again to confirm">
{CONFIRM_MESSAGE}
</span>
);
} else if (state === STATE_DONE) {
innerMsg = DONE_MESSAGE;
} else {

View File

@@ -99,8 +99,7 @@ class SidebarRequestRow extends PureComponent {
node = (
<li className={classes}>
<div className="sidebar__item" tabIndex={0}>
<button className="sidebar__clickable"
onClick={this._handleRequestCreateFromEmpty}>
<button className="sidebar__clickable" onClick={this._handleRequestCreateFromEmpty}>
<em className="faded">click to add first request...</em>
</button>
</div>
@@ -123,11 +122,11 @@ class SidebarRequestRow extends PureComponent {
onEditStart={this._handleEditStart}
onSubmit={this._handleRequestUpdateName}/>
{request.description && (
<button title="View description"
<a title="View description"
onClick={this._handleClickDescription}
className="icon space-left txt-sm super-faint">
<i className="fa fa-file-text-o"/>
</button>
</a>
)}
</div>
</div>