Skip to content

Commit bd3ba8f

Browse files
authored
Fix scaling and responsiveness, Safari bug (#1196)
* Setup structure for post event * Start of designs * Gif added * Fix the thing * Sizing * last things * Fix scaling issues on desktop and safari * Fix a lot of responsive
1 parent a6dd531 commit bd3ba8f

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ console.log(hiringMessage);
1313
// Comment generated via js instead of directly in HTML so the hiring message text is only in one place
1414
const comment = document.createComment("\n"+hiringMessage.toString()+"\n");
1515
document.insertBefore(comment, document.firstChild);
16+

sass/event.scss

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1200,23 +1200,19 @@ footer#end-footer {
12001200
#end-main {
12011201
display: flex;
12021202
flex-direction: row;
1203-
// border: 3px solid yellow;
1204-
height: calc(100vh - #{$nav-height});
12051203
margin: 0 auto;
1206-
margin-top: $nav-height / 2;
1207-
width: 90%;
1208-
bottom: 0;
1204+
margin-top: $nav-height;
1205+
top: 0;
1206+
position: absolute;
12091207

12101208
#thank-you-container, #ricky-container {
1211-
// border: 3px solid yellow;
12121209
display: flex;
12131210
flex-direction: column;
12141211
justify-content: flex-end;
12151212
}
12161213

12171214
#thank-you-container {
12181215
width: 40%;
1219-
// border: 3px solid yellow;
12201216

12211217
h1 {
12221218
font-size: 4em;
@@ -1235,8 +1231,14 @@ footer#end-footer {
12351231

12361232
#ricky-container {
12371233
width: 60%;
1238-
// border: 3px solid yellow;
1239-
overflow: hidden; // Beeg gif
1234+
object-fit: scale-down;
1235+
height: auto;
1236+
display: flex;
1237+
align-items: d;
1238+
1239+
img {
1240+
width: 100%;
1241+
}
12401242
}
12411243
}
12421244

@@ -1434,6 +1436,7 @@ footer#end-footer {
14341436
}
14351437
}
14361438
}
1439+
14371440
#end-main {
14381441
flex-direction: column-reverse;
14391442
width: 100%;
@@ -1792,6 +1795,10 @@ footer#end-footer {
17921795
justify-content: space-around;
17931796
gap: 20px;
17941797
}
1798+
1799+
#end-main #thank-you-container h1 {
1800+
font-size: 2em;
1801+
}
17951802
}
17961803

17971804
@media screen and (max-width: 650px) {

0 commit comments

Comments
 (0)