Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit e64c9af

Browse files
committed
fix(team-landing): fix margins
1 parent df4250c commit e64c9af

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/pages/app-team-landing/app-team-landing.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,14 @@ section.team-landing {
217217
line-height: 34px;
218218
margin: 3rem 0;
219219
}
220-
@include media-breakpoint-down(md) {
221-
margin: 3rem 0;
220+
@include media-breakpoint-down(sm) {
221+
margin: 3rem 0 2rem;
222222
}
223223
font-size: 2.63rem;
224224
font-weight: 600;
225225
letter-spacing: 2.1px;
226226
line-height: 38px;
227-
margin: 4rem 0;
227+
margin: 5rem 0;
228228
text-align: center;
229229
}
230230
}

src/pages/app-team-landing/app-team-landing.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ export class AppTeamLanding {
422422
}
423423

424424
render() {
425-
const backgroundPhoto = this.changeImageFormat(this.data[this.match.params.member].backgroundPhoto);
425+
const backgroundPhoto = this.changeImageFormat(this.data[this.match.params.member].backgroundPhoto ? this.data[this.match.params.member].backgroundPhoto : null);
426426
const headshotPhoto = this.changeImageFormat(this.data[this.match.params.member].headshotPhoto);
427427
let style = {};
428428
if (window.innerWidth > 767.98) {
@@ -435,7 +435,7 @@ export class AppTeamLanding {
435435
};
436436
}
437437
window.addEventListener('resize', () => {
438-
const backgroundPhoto = this.changeImageFormat(this.data[this.match.params.member].backgroundPhoto);
438+
const backgroundPhoto = this.changeImageFormat(this.data[this.match.params.member].backgroundPhoto ? this.data[this.match.params.member].backgroundPhoto : null);
439439
const hero = document.querySelector('.hero') as HTMLElement;
440440
if (window.innerWidth > 767.98) {
441441
hero.style.backgroundColor = '#292A2D';
@@ -500,7 +500,7 @@ export class AppTeamLanding {
500500
</div>
501501

502502
<div id="members" class="row justify-content-center members">
503-
<div class="col-11 col-lg-12">
503+
<div class="col-10 col-lg-10">
504504
<h2>
505505
<app-translate keyword="about.landing.cta.title" />
506506
</h2>

0 commit comments

Comments
 (0)