Style fixes
This commit is contained in:
@@ -9,7 +9,7 @@ import { AppText } from '../app-text'
|
|||||||
export default class SelectBoxGroup extends Component {
|
export default class SelectBoxGroup extends Component {
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<View flexDirection='row' flexWrap='wrap'>
|
<View style={styles.selectBoxSection}>
|
||||||
{this.props.data.map(({ label, stateKey }) => {
|
{this.props.data.map(({ label, stateKey }) => {
|
||||||
const style = [styles.selectBox]
|
const style = [styles.selectBox]
|
||||||
const textStyle = []
|
const textStyle = []
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import { pain as labels } from '../labels/labels'
|
|||||||
import ActionButtonFooter from './action-button-footer'
|
import ActionButtonFooter from './action-button-footer'
|
||||||
import SelectBoxGroup from '../select-box-group'
|
import SelectBoxGroup from '../select-box-group'
|
||||||
import SymptomSection from './symptom-section'
|
import SymptomSection from './symptom-section'
|
||||||
|
import styles from '../../../styles'
|
||||||
|
|
||||||
const categories = labels.categories
|
const categories = labels.categories
|
||||||
const boxes = [{
|
const boxes = [{
|
||||||
@@ -61,7 +62,7 @@ export default class Pain extends Component {
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<View style={{ flex: 1 }}>
|
<View style={{ flex: 1 }}>
|
||||||
<ScrollView>
|
<ScrollView style={styles.page}>
|
||||||
<SymptomSection
|
<SymptomSection
|
||||||
explainer={labels.explainer}
|
explainer={labels.explainer}
|
||||||
>
|
>
|
||||||
|
|||||||
+2
-1
@@ -182,7 +182,8 @@ export default StyleSheet.create({
|
|||||||
},
|
},
|
||||||
selectBox: {
|
selectBox: {
|
||||||
backgroundColor: 'lightgrey',
|
backgroundColor: 'lightgrey',
|
||||||
margin: 7,
|
marginRight: 7,
|
||||||
|
marginVertical: 5,
|
||||||
paddingHorizontal: 15,
|
paddingHorizontal: 15,
|
||||||
paddingVertical: 10,
|
paddingVertical: 10,
|
||||||
borderRadius: 10
|
borderRadius: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user