Skip to content
Snippets Groups Projects
Unverified Commit 4d8e490f authored by Andrew Sliwinski's avatar Andrew Sliwinski Committed by GitHub
Browse files

Merge pull request #3038 from apple502j/patch-6

Use SVG for ask/wait prompt
parents 7698c57e d3f326f4
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -55,3 +55,10 @@ ...@@ -55,3 +55,10 @@
.question-input > input:focus { .question-input > input:focus {
box-shadow: 0px 0px 0px 3px $motion-transparent; box-shadow: 0px 0px 0px 3px $motion-transparent;
} }
.question-submit-button-icon {
width: calc(2rem - $space);
height: calc(2rem - $space);
position: relative;
left: -7px;
}
...@@ -2,6 +2,7 @@ import PropTypes from 'prop-types'; ...@@ -2,6 +2,7 @@ import PropTypes from 'prop-types';
import React from 'react'; import React from 'react';
import styles from './question.css'; import styles from './question.css';
import Input from '../forms/input.jsx'; import Input from '../forms/input.jsx';
import enterIcon from './icon--enter.svg';
const QuestionComponent = props => { const QuestionComponent = props => {
const { const {
...@@ -28,7 +29,11 @@ const QuestionComponent = props => { ...@@ -28,7 +29,11 @@ const QuestionComponent = props => {
className={styles.questionSubmitButton} className={styles.questionSubmitButton}
onClick={onClick} onClick={onClick}
> >
{'✔︎' /* @todo should this be an image? */} <img
className={styles.questionSubmitButtonIcon}
draggable={false}
src={enterIcon}
/>
</button> </button>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment