Skip to content

Commit add837b

Browse files
committed
Fix overflow of header in a stretched window
1 parent 0c001f7 commit add837b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

assets/js/paper-kit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ $(document).ready(function(){
7373
big_image = $('.page-header[data-parallax="true"]');
7474

7575
if(big_image.length != 0){
76-
pk.checkScrollForPresentationPage();
77-
$(window).on('scroll', pk.checkScrollForPresentationPage);
76+
//pk.checkScrollForPresentationPage();
77+
//$(window).on('scroll', pk.checkScrollForPresentationPage);
7878
}
7979
}
8080

custom_assets/css/style.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ span.typed-cursor {
5656

5757
.page-header.page-header-white {
5858
background-color: white;
59+
height: 100vh;
60+
min-height: 600px;
61+
max-height: none;
5962
}
6063

6164
.page-header.page-header-white .content-center .motto .description {
@@ -135,6 +138,4 @@ img.img-curriculum-lg {
135138
height: 50px;
136139
max-width: 100%;
137140
margin-top: 35px;
138-
139-
}
140-
141+
}

0 commit comments

Comments
 (0)