Skip to content

Commit

Permalink
fix: web auth design (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur-eren authored Jun 7, 2024
1 parent 13635dc commit fa36a08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 2 additions & 3 deletions JoyboyCommunity/src/modules/Auth/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ export const Auth: React.FC<AuthProps> = ({title, children}) => {
style={styles.backgroundImage}
source={require('../../assets/login-background.png')}
/>
</View>
<View style={styles.middle}>
<View style={styles.logoContainer}>

<View style={styles.middle}>
<View style={styles.logo}>
<Image style={styles.logoImage} source={require('../../../assets/joyboy-logo.png')} />
</View>
Expand Down
6 changes: 1 addition & 5 deletions JoyboyCommunity/src/modules/Auth/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,9 @@ export default ThemedStyleSheet((theme) => ({

middle: {
position: 'absolute',
top: '50%',
bottom: 0,
left: 0,
right: 0,
},
logoContainer: {
position: 'relative',
top: '-100%',
width: '100%',
alignItems: 'center',
justifyContent: 'center',
Expand Down

0 comments on commit fa36a08

Please sign in to comment.