Skip to content

Commit

Permalink
fix: realign save text and removed button shadow (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdmelKun authored Dec 6, 2023
1 parent 8ec278c commit 1b9d6cb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions apps/expo/src/screens/create-question/ChoiceCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -666,15 +666,15 @@ export const IdentificationCards = ({
</View>
))}

<View className="w-[90%]">
<View className="w-[50%] self-center">
<AppButton
text="Add Choice"
buttonColor="violet-600"
borderShadowColor="indigo-800"
borderRadius="full"
fontStyle="bold"
textColor="white"
TOwidth="[45%]"
TOwidth="full"
Vwidth="full"
Vheight="12"
onPress={addChoice}
Expand Down
6 changes: 3 additions & 3 deletions apps/expo/src/screens/edit-personal-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -307,17 +307,17 @@ export const EditPersonalInfoScreen = () => {
</View>

{edit ? (
<View className="mt-24">
<View className="mt-auto w-[50%] self-center">
<AppButton
text="Save"
buttonColor="violet-600"
borderShadowColor="indigo-800"
borderRadius="full"
fontStyle="bold"
textColor="white"
TOwidth="[50%]"
TOwidth="full"
Vwidth="full"
Vheight="16"
Vheight="12"
onPress={handleSubmit(submitEditedData)}
isLoading={isEditingUser}
/>
Expand Down
4 changes: 2 additions & 2 deletions apps/expo/src/screens/play-test/TestCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const IdentificationCard = ({
<TextInput
multiline={true}
maxLength={75}
className="mx-5 my-8 h-[15%] flex-col items-center justify-center rounded-2xl border-b-2 bg-emerald-500 p-2 text-center text-lg font-bold leading-[28.80px] text-white"
className="mx-5 my-8 h-[15%] flex-col items-center justify-center rounded-2xl bg-emerald-500 p-2 text-center text-lg font-bold leading-[28.80px] text-white"
selectionColor="white"
value={answer}
onChangeText={setAnswer}
Expand All @@ -155,7 +155,7 @@ export const IdentificationCard = ({
{choices?.map((choice) => (
<View
key={choice.id}
className={`inline-flex h-[50px] w-[85%] flex-col items-center justify-center rounded-2xl border-b-4 ${choice.styles}`}
className={`inline-flex h-[50px] w-[85%] flex-col items-center justify-center rounded-2xl ${choice.styles}`}
>
<Text className="font-nunito-extrabold self-stretch text-center text-sm font-bold leading-[28.80px] text-white">
{choice.text}
Expand Down
2 changes: 1 addition & 1 deletion apps/expo/src/screens/test-history/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const TestHistoryScreen: FC<TestHistoryProps> = ({
textColor="white"
TOwidth="full"
Vwidth="full"
Vheight="10"
Vheight="12"
onPress={goToScoreBoard}
isLoading={isFetchingUser}
/>
Expand Down

0 comments on commit 1b9d6cb

Please sign in to comment.