Skip to content

Commit

Permalink
profile styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ddusichka committed Dec 4, 2024
1 parent 0d1c9e3 commit bc14d90
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions frontend/app/(tabs)/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function ProfileScreen() {

return (
userProfile && (
<View>
<View style={styles.page}>
<TouchableOpacity onPress={handleEditPress} style={styles.editIcon}>
<Icon name="edit-2" size={20} color="#888" />
</TouchableOpacity>
Expand Down Expand Up @@ -268,12 +268,14 @@ export default function ProfileScreen() {
const { width: SCREEN_WIDTH } = Dimensions.get("window");

const styles = StyleSheet.create({
container: {
page: {
flex: 1,
backgroundColor: "#fff",
paddingHorizontal: 24,
minHeight: Dimensions.get("window").height - 80,
},
container: {
paddingHorizontal: 24,
},
header: {
alignItems: "center",
paddingVertical: 20,
Expand Down Expand Up @@ -388,7 +390,7 @@ const styles = StyleSheet.create({
paddingHorizontal: 30,
borderRadius: 20,
alignSelf: "center",
marginVertical: 20,
marginBottom: 20,
},
queueButtonText: {
color: "#fff",
Expand Down

0 comments on commit bc14d90

Please sign in to comment.