Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: realign save text and removed button shadow #236

Merged
merged 1 commit into from
Dec 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -661,15 +661,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
Loading