Skip to content

Commit 1a387c3

Browse files
committed
remove section header height from jobs
1 parent 712c25f commit 1a387c3

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

source/views/sis/student-work/index.js

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/**
22
* @flow
3-
*
3+
*
44
* All About Olaf
55
* Student Work page
66
*/
77

88
import React from 'react'
9-
import {StyleSheet, Platform, Text} from 'react-native'
9+
import {StyleSheet, Text} from 'react-native'
1010
import * as c from '../../components/colors'
1111
import SimpleListView from '../../components/listview'
1212
import {ListSeparator, ListSectionHeader} from '../../components/list'
@@ -24,8 +24,6 @@ import type {JobType} from './types'
2424
const jobsUrl =
2525
'https://www.stolaf.edu/apps/stuwork/index.cfm?fuseaction=getall&nostructure=1'
2626

27-
const headerHeight = Platform.OS === 'ios' ? 33 : 41
28-
2927
const jobSort = new Map([
3028
['On-campus Work Study', 1],
3129
['Off-campus Community Service Work Study', 2],
@@ -37,9 +35,6 @@ const styles = StyleSheet.create({
3735
listContainer: {
3836
backgroundColor: c.white,
3937
},
40-
rowSectionHeader: {
41-
height: headerHeight,
42-
},
4338
})
4439

4540
export default class StudentWorkView extends React.Component {
@@ -112,7 +107,7 @@ export default class StudentWorkView extends React.Component {
112107
}
113108

114109
renderSectionHeader = (data: any, id: string) => {
115-
return <ListSectionHeader style={styles.rowSectionHeader} title={id} />
110+
return <ListSectionHeader title={id} />
116111
}
117112

118113
render() {

0 commit comments

Comments
 (0)