File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
apps/resume-portal/src/components/ResumeCard Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const ResumeCard: React.FC<IResumeCardProps> = (props) => {
25
25
const [ resumeFull , setResumeFull ] = useState ( false ) ;
26
26
27
27
const toggleResumePreview = ( ) : void => {
28
- setResumeFull ( resumeFull !== true ) ;
28
+ setResumeFull ( ! resumeFull ) ;
29
29
} ;
30
30
31
31
if ( ! user . resume ) {
@@ -64,7 +64,7 @@ const ResumeCard: React.FC<IResumeCardProps> = (props) => {
64
64
position : "absolute" ,
65
65
width : 615 ,
66
66
height : 465 ,
67
- background : "transparent"
67
+ background : "transparent" ,
68
68
} }
69
69
onClick = { toggleResumePreview }
70
70
/>
@@ -83,8 +83,8 @@ const ResumeCard: React.FC<IResumeCardProps> = (props) => {
83
83
footer = { null }
84
84
onCancel = { toggleResumePreview }
85
85
width = "60%"
86
- style = { { top : 20 } }
87
- bodyStyle = { { height : "95vh " , padding : 40 } }
86
+ style = { { top : "5vh" , padding : 0 } }
87
+ bodyStyle = { { height : "90vh " , padding : 40 } }
88
88
>
89
89
< object
90
90
data = { PDF_URL }
You can’t perform that action at this time.
0 commit comments