Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 775d7c3

Browse files
henrievjenClayMav
authored andcommitted
fixed scrollbar issue
1 parent c0c2f81 commit 775d7c3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/resume-portal/src/components/ResumeCard/ResumeCard.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const ResumeCard: React.FC<IResumeCardProps> = (props) => {
2525
const [resumeFull, setResumeFull] = useState(false);
2626

2727
const toggleResumePreview = (): void => {
28-
setResumeFull(resumeFull !== true);
28+
setResumeFull(!resumeFull);
2929
};
3030

3131
if (!user.resume) {
@@ -64,7 +64,7 @@ const ResumeCard: React.FC<IResumeCardProps> = (props) => {
6464
position: "absolute",
6565
width: 615,
6666
height: 465,
67-
background: "transparent"
67+
background: "transparent",
6868
}}
6969
onClick={toggleResumePreview}
7070
/>
@@ -83,8 +83,8 @@ const ResumeCard: React.FC<IResumeCardProps> = (props) => {
8383
footer={null}
8484
onCancel={toggleResumePreview}
8585
width="60%"
86-
style={{ top: 20 }}
87-
bodyStyle={{ height: "95vh", padding: 40 }}
86+
style={{ top: "5vh", padding: 0 }}
87+
bodyStyle={{ height: "90vh", padding: 40 }}
8888
>
8989
<object
9090
data={PDF_URL}

0 commit comments

Comments
 (0)