Skip to content

Commit 349e9d7

Browse files
safari view fixed
1 parent 6488cdd commit 349e9d7

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

components/currentProjectCard.jsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,31 +52,35 @@ const styles = {
5252
display: 'flex',
5353
flexDirection: 'column',
5454
alignItems: 'center',
55-
width: '100%',
55+
flex: 1,
5656
},
5757
projectInfo: {
5858
marginBottom: '16px',
59+
flex: 1,
5960
},
6061
projectImage: {
6162
borderRadius: '10%',
6263
objectFit: 'cover',
63-
width: 'auto',
64-
height: '100%',
64+
width: '100%',
65+
height: 'auto',
6566
},
6667
projectTitle: {
6768
marginTop: '16px',
6869
fontSize: '24px',
6970
fontWeight: 'bold',
7071
textAlign: 'center',
72+
color: 'white',
7173
},
7274
leadsInfo: {
7375
display: 'flex',
7476
flexDirection: 'column',
7577
alignItems: 'center',
78+
flex: 1,
7679
},
7780
leadText: {
7881
fontSize: '20px',
7982
fontWeight: 'bold',
83+
color: 'white',
8084
},
8185
leadsContainer: {
8286
display: 'flex',
@@ -101,5 +105,6 @@ const styles = {
101105
textAlign: 'center',
102106
fontSize: '14px',
103107
fontWeight: '500',
108+
color: 'white',
104109
},
105110
};
File renamed without changes.

0 commit comments

Comments
 (0)