small fixes to style

This commit is contained in:
jfrye122
2023-07-26 08:38:19 -04:00
parent bf65b374f8
commit 60e6fd14a3
3 changed files with 6 additions and 6 deletions

View File

@@ -160,12 +160,6 @@ const TimeTicketBrowserStackNavigator = connect(
name="TimeTicketBrowser" name="TimeTicketBrowser"
options={{ options={{
title: i18n.t("timeticketbrowser.titles.timeticketbrowsertab"), title: i18n.t("timeticketbrowser.titles.timeticketbrowsertab"),
headerRight: () => (
<>
<AddTimeTicketButton />
<SignOutButton />
</>
),
}} }}
component={ScreenTimeTicketBrowser} component={ScreenTimeTicketBrowser}
/> />

View File

@@ -190,7 +190,9 @@ export function TimeTicketClockOff({
{error ? ( {error ? (
<ErrorDisplay errorMessage={error.message} /> <ErrorDisplay errorMessage={error.message} />
) : null} ) : null}
<View style={{ flexDirection: "row",justifyContent: "center", paddingTop:8 }}>
<Button <Button
mode="outlined" mode="outlined"
style={styles.buttonBasicOutlined} style={styles.buttonBasicOutlined}
onPress={handleSubmit} onPress={handleSubmit}
@@ -201,6 +203,7 @@ export function TimeTicketClockOff({
{t("timeticketclockoff.actions.clockoff")} {t("timeticketclockoff.actions.clockoff")}
</Text> </Text>
</Button> </Button>
</View>
</View> </View>
)} )}
</Formik> </Formik>

View File

@@ -245,6 +245,8 @@ export function TimeTicketCreate({
{error ? ( {error ? (
<ErrorDisplay errorMessage={error.message} /> <ErrorDisplay errorMessage={error.message} />
) : null} ) : null}
<View style={{ flexDirection: "row",justifyContent: "center", paddingTop:8 }}>
<Button <Button
mode="outlined" mode="outlined"
style={styles.buttonBasicOutlined} style={styles.buttonBasicOutlined}
@@ -256,6 +258,7 @@ export function TimeTicketCreate({
{t("createtimeticket.actions.createticket")} {t("createtimeticket.actions.createticket")}
</Text> </Text>
</Button> </Button>
</View>
</View> </View>
)} )}
</Formik> </Formik>