Skip to content

Commit

Permalink
Improve title style of FromInput
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jul 26, 2023
1 parent 569b3c7 commit 727b627
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/components/FormInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'

const styles = {
title: { textAlign: 'center' },
form: {
display: 'flex',
flexDirection: 'row',
Expand Down Expand Up @@ -53,7 +54,7 @@ export default class FormInput extends PureComponent {
const val = typeof value !== 'undefined' ? value : inputProps.value
return (
<div>
<div>{title}</div>
<div style={styles.title}>{title}</div>
<div style={styles.form}>
<input
onKeyDown={(e) => {
Expand Down

0 comments on commit 727b627

Please sign in to comment.