Skip to content

Commit b2436b7

Browse files
committed
Improve rendering of settings on mobile
1 parent 88ba841 commit b2436b7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

feedingwebapp/src/Pages/Settings/BiteTransfer.jsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const BiteTransfer = (props) => {
6464
// Indicator of how to arrange screen elements based on orientation
6565
let dimension = isPortrait ? 'column' : 'row'
6666
// Rendering variables
67-
let textFontSize = '3.5vh'
67+
let textFontSize = '3.0vh'
6868

6969
// Get min and max distance to mouth
7070
const minDistanceToMouth = 1 // cm
@@ -227,9 +227,9 @@ const BiteTransfer = (props) => {
227227
const speedParameterIdsAndDescriptions = useMemo(
228228
() => [
229229
[moveToMouthSpeedId, 'Approach Speed (cm/s)'],
230-
[moveToMouthSpeedNearMouthId, 'Approach Speed Near Mouth (cm/s)'],
230+
[moveToMouthSpeedNearMouthId, 'Approach Near Mouth (cm/s)'],
231231
[moveFromMouthSpeedId, 'Retreat Speed (cm/s)'],
232-
[moveFromMouthSpeedNearMouthId, 'Retreat Speed Near Mouth (cm/s)']
232+
[moveFromMouthSpeedNearMouthId, 'Retreat Near Mouth (cm/s)']
233233
],
234234
[moveToMouthSpeedId, moveToMouthSpeedNearMouthId, moveFromMouthSpeedId, moveFromMouthSpeedNearMouthId]
235235
)
@@ -264,7 +264,7 @@ const BiteTransfer = (props) => {
264264
>
265265
<View
266266
style={{
267-
flex: 8,
267+
flex: 16,
268268
flexDirection: 'column',
269269
justifyContent: 'center',
270270
alignItems: 'center',
@@ -335,7 +335,7 @@ const BiteTransfer = (props) => {
335335
</View>
336336
<View
337337
style={{
338-
flex: 8,
338+
flex: 5,
339339
flexDirection: 'column',
340340
justifyContent: 'center',
341341
alignItems: 'center',
@@ -366,14 +366,14 @@ const BiteTransfer = (props) => {
366366
Move To Mouth
367367
</Button>
368368
</View>
369-
<View
369+
{/* <View
370370
style={{
371371
flex: 1,
372372
justifyContent: 'center',
373373
alignItems: 'center',
374374
width: '100%'
375375
}}
376-
/>
376+
/> */}
377377
<View
378378
style={{
379379
flex: 1,
@@ -397,14 +397,14 @@ const BiteTransfer = (props) => {
397397
Move From Mouth
398398
</Button>
399399
</View>
400-
<View
400+
{/* <View
401401
style={{
402402
flex: 1,
403403
justifyContent: 'center',
404404
alignItems: 'center',
405405
width: '100%'
406406
}}
407-
/>
407+
/> */}
408408
</View>
409409
</View>
410410
)

0 commit comments

Comments
 (0)