Skip to content

Commit

Permalink
Merge pull request #398 from Netcentric/391-cut-jobs-descriptions
Browse files Browse the repository at this point in the history
Fix #391-Set iframe fix height to 5500
  • Loading branch information
Victor-AcostaCNC authored Oct 16, 2023
2 parents ada35da + 28c13a3 commit f65b83f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion blocks/job-openings/job-openings.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ main .section.job-openings-container .job-openings-wrapper {

.embed-job-openings {
width: 100%;
height: 100vh;
height: 5500px;
border: none;
}

@media (min-width: 769px) {
.embed-job-openings {
height: 2500px;
}
}
2 changes: 1 addition & 1 deletion blocks/job-openings/job-openings.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const iframe = '<iframe src="https://www.careers-page.com/netcentric" class="embed-job-openings" style="width:100%; height:4000px; border:none;" scrolling="no"></iframe>';
const iframe = '<iframe src="https://www.careers-page.com/netcentric" class="embed-job-openings" style="width:100%; border:none;" scrolling="no"></iframe>';

function resizeIframeToFitContent(target) {
try {
Expand Down

0 comments on commit f65b83f

Please sign in to comment.