Skip to content

Commit b2756b9

Browse files
committed
Revert whitespace changes
1 parent 9d466b4 commit b2756b9

2 files changed

Lines changed: 13 additions & 10 deletions

File tree

_sass/components/_wins-page.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
z-index: 1;
113113
}
114114
[data-wins]{
115-
font-weight: normal
115+
font-weight: normal
116116
}
117117
.wins-text-bubble:before{
118118
content: "";
@@ -182,7 +182,7 @@
182182
max-height: 60.5px;
183183
font-size: 18.5px;
184184
}
185-
185+
186186
}
187187
}
188188

@@ -413,8 +413,8 @@
413413
left: 20%;
414414
}
415415
.overlay-close-icon {
416-
float: right;
417-
padding: 20px 20px 0 0;
416+
float: right;
417+
padding: 20px 20px 0 0;
418418
cursor: pointer;
419419
}
420420
.center-screen {
@@ -472,6 +472,7 @@
472472
z-index: 10;
473473
}
474474
}
475+
475476
}
476477

477478
.wins-card-content > * {
@@ -483,6 +484,8 @@
483484
grid-template-columns: repeat(2, 1fr);
484485
min-width: 216px;
485486
width: 40%;
487+
488+
486489
}
487490

488491
.wins-page-contain > ul.filter-list li ul {

assets/js/wins.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ function changeSeeMoreBtn(x) {
469469

470470
function updateOverlay(i) {
471471

472-
window.addEventListener('keydown', (e) => {
472+
window.addEventListener('keydown', (e) => {
473473
if (e.key == 'Escape') {
474474
hideOverlay(e.key)
475475
}
@@ -488,8 +488,8 @@ function changeSeeMoreBtn(x) {
488488
}
489489
});
490490

491-
let stringData = window.localStorage.getItem("data");
492-
let data = JSON.parse(stringData).reverse();
491+
let stringData = window.localStorage.getItem("data");
492+
let data = JSON.parse(stringData).reverse();
493493

494494
const overlayProfileImg = document.querySelector('#overlay-profile-img');
495495
overlayProfileImg.src = document.querySelector(`#ghImg-${i}`).src;
@@ -525,7 +525,7 @@ function changeSeeMoreBtn(x) {
525525
}
526526

527527
const overlayName = document.querySelector('#overlay-name');
528-
overlayName.textContent = data[i][name];
528+
overlayName.textContent = data[i][name];
529529

530530
const overlayTeams = document.querySelector('#overlay-teams');
531531
overlayTeams.textContent = `Team(s): ${data[i][team]}`;
@@ -536,11 +536,11 @@ function changeSeeMoreBtn(x) {
536536
const overlayOverview = document.querySelector('#overlay-overview');
537537
overlayOverview.textContent = data[i][overview];
538538

539-
insertIcons('#overlay-info', data[i][win], 'overlay')
539+
insertIcons('#overlay-info', data[i][win], 'overlay')
540540

541541
const overlayProjectCard = document.querySelector('#overlay-project-card');
542542
overlayProjectCard.parentNode.classList.add("display-initial");
543-
}
543+
}
544544

545545

546546
function hideOverlay(e) {

0 commit comments

Comments
 (0)