Skip to content

Commit

Permalink
fix: solves the view point of the cv-template
Browse files Browse the repository at this point in the history
  • Loading branch information
JollyJolli authored and Kishan-Ved committed Oct 2, 2024
1 parent 5eeefdf commit 7b209a2
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions ResumeGeneratorCSS.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ body {
background-color: #f7f7f7;
margin: 0;
padding: 0;
height: 100vh; /* Full viewport height */
overflow: hidden; /* Disable body scrolling */
height: 100%; /* Full height of the body */
overflow: auto; /* Allow scrolling on the body */
}

.container-fluid {
Expand All @@ -16,8 +16,8 @@ body {
box-sizing: border-box;
display: flex; /* Flexbox for side-by-side layout */
gap: 20px; /* Space between form and template */
height: 100vh; /* Full height of viewport */
overflow: hidden; /* Prevent container scrolling */
height: calc(100vh - 60px); /* Adjust height based on padding and avoid exceeding viewport */
overflow: hidden; /* Prevent scrolling for the container */
}

/* Form Styles */
Expand All @@ -30,7 +30,6 @@ body {
overflow-y: auto; /* Vertical scroll */
overflow-x: hidden; /* Prevent horizontal scroll */
flex: 1; /* Allow the form to grow */
height: 100%; /* Full height to trigger scroll */
max-height: 100%; /* Constrain height to container */
}

Expand Down Expand Up @@ -76,11 +75,9 @@ body {
border: 1px solid #d1d1d1;
padding: 30px;
margin-bottom: 30px;
overflow-y: auto; /* Vertical scroll */
overflow-x: hidden; /* Prevent horizontal scroll */
flex: 1; /* Allow the template to grow */
height: 100%; /* Full height */
max-height: 100%; /* Constrain height */
overflow-y: auto; /* Habilitar el scroll vertical */
flex: 1; /* Hacer que el cv-template crezca con el espacio disponible */
max-height: 100vh; /* Limitar la altura para asegurarse de que el scroll funcione */
}

/* Set the heading background to lightgray and text to black */
Expand Down

0 comments on commit 7b209a2

Please sign in to comment.