We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 569b3c7 commit 727b627Copy full SHA for 727b627
app/components/FormInput.js
@@ -2,6 +2,7 @@ import React, { PureComponent } from 'react'
2
import PropTypes from 'prop-types'
3
4
const styles = {
5
+ title: { textAlign: 'center' },
6
form: {
7
display: 'flex',
8
flexDirection: 'row',
@@ -53,7 +54,7 @@ export default class FormInput extends PureComponent {
53
54
const val = typeof value !== 'undefined' ? value : inputProps.value
55
return (
56
<div>
- <div>{title}</div>
57
+ <div style={styles.title}>{title}</div>
58
<div style={styles.form}>
59
<input
60
onKeyDown={(e) => {
0 commit comments