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

Commit a58541e

Browse files
fix(app-our-work): update header positioning, width
1 parent 25bdeb8 commit a58541e

File tree

2 files changed

+25
-18
lines changed

2 files changed

+25
-18
lines changed

src/pages/app-our-work/app-our-work.scss

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,26 @@
22
margin-top: 76px;
33

44
header {
5-
background-image: url(assets/our-work/our-work-header.svg);
6-
background-repeat: no-repeat;
7-
height: 542px;
8-
display: flex;
9-
align-items: center;
10-
justify-content: center;
11-
flex-direction: column;
12-
13-
@include media-breakpoint-down(md) {
14-
height: 350px;
15-
}
165

17-
@include media-breakpoint-down(sm) {
18-
height: initial;
19-
margin-top: calc(3rem + 76px);
20-
background-image: none;
6+
7+
section {
8+
align-items: center;
9+
background-image: url(assets/our-work/our-work-header.svg);
10+
background-repeat: no-repeat;
11+
display: flex;
12+
flex-direction: column;
13+
justify-content: center;
14+
min-height: 420px;
15+
16+
@include media-breakpoint-down(md) {
17+
height: 350px;
18+
}
19+
20+
@include media-breakpoint-down(sm) {
21+
height: initial;
22+
margin-top: calc(3rem + 76px);
23+
background-image: none;
24+
}
2125
}
2226

2327
h1 {
@@ -33,6 +37,7 @@
3337
font-size: 40px;
3438
}
3539
}
40+
3641
p {
3742
margin-top: 15px;
3843
color: #292a2d;

src/pages/app-our-work/app-our-work.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ export class AppOurWork {
88
render() {
99
return (
1010
<div class="our-work">
11-
<header class="container">
12-
<h1>Our Work</h1>
13-
<p>Each day we work to make our world better by design. Below you will find examples of projects that we've had the pleasure of working on.</p>
11+
<header>
12+
<section class="container">
13+
<h1>Our Work</h1>
14+
<p>Each day we work to make our world better by design. Below you will find examples of projects that we've had the pleasure of working on.</p>
15+
</section>
1416
</header>
1517
<section class="container">
1618
<div class="card-container">

0 commit comments

Comments
 (0)