Skip to content

Commit 891d74d

Browse files
committed
trying to improve behavior of index.html with tall aspect ratios
1 parent 72abfab commit 891d74d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎docs/styles.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ main.content> :first-child:not(#title-block-header) {
386386
top: 0;
387387
left: 0;
388388
width: 100%;
389-
// height: 50%;
389+
height: 100%;
390390
object-fit: cover;
391391
z-index: 1;
392392
pointer-events: none;
@@ -893,6 +893,7 @@ main.content>*,
893893

894894
.sc-hero {
895895
padding: 2.5rem 1.25rem 2rem;
896+
height: auto;
896897
}
897898
}
898899

‎styles.css‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ main.content> :first-child:not(#title-block-header) {
386386
top: 0;
387387
left: 0;
388388
width: 100%;
389-
// height: 50%;
389+
height: 100%;
390390
object-fit: cover;
391391
z-index: 1;
392392
pointer-events: none;
@@ -893,6 +893,7 @@ main.content>*,
893893

894894
.sc-hero {
895895
padding: 2.5rem 1.25rem 2rem;
896+
height: auto;
896897
}
897898
}
898899

0 commit comments

Comments
 (0)