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

Commit 9199c52

Browse files
committed
fix: style tweaks
1 parent 1c69b08 commit 9199c52

File tree

3 files changed

+56
-4
lines changed

3 files changed

+56
-4
lines changed

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

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,19 +97,36 @@
9797
margin-left: 50px;
9898
}
9999

100+
&:first-child {
101+
position: absolute;
102+
right: 175px;
103+
104+
@include media-breakpoint-down(md) {
105+
position: initial;
106+
right: initial;
107+
}
108+
109+
@include media-breakpoint-down(sm) {
110+
position: initial;
111+
right: initial;
112+
}
113+
}
114+
100115
&:last-child {
101116
position: absolute;
102117
top: 200px;
103-
left: 125px;
118+
right: 50px;
104119

105120
@include media-breakpoint-down(md) {
106121
top: 100px;
107122
left: 100px;
123+
right: initial;
108124
}
109125

110126
@include media-breakpoint-down(sm) {
111127
top: 80px;
112128
left: 80px;
129+
right: initial;
113130
}
114131
}
115132
}
@@ -159,7 +176,11 @@
159176
}
160177

161178
img {
162-
margin: 10px 20px 10px 0;
179+
margin: 10px 40px 10px 0;
180+
181+
@include media-breakpoint-down(sm) {
182+
margin: 10px 20px 10px 0;
183+
}
163184
}
164185
}
165186

@@ -287,6 +308,10 @@
287308
top: 30px;
288309
width: 100%;
289310

311+
@include media-breakpoint-down(md) {
312+
width: 50%;
313+
}
314+
290315
@include media-breakpoint-down(sm) {
291316
content: none;
292317
}
@@ -305,7 +330,7 @@
305330

306331
.more-projects-items {
307332
display: flex;
308-
justify-content: space-around;
333+
justify-content: space-evenly;
309334
margin-top: 120px;
310335
margin-bottom: 160px;
311336

@@ -342,6 +367,11 @@
342367
text-align: center;
343368
margin-top: 36px;
344369
margin-bottom: 0;
370+
371+
&.sm {
372+
margin-bottom: 36px;
373+
margin-top: 0;
374+
}
345375
}
346376

347377
.images-col {
@@ -372,4 +402,24 @@
372402
}
373403
}
374404
}
405+
406+
.carousel-indicators {
407+
bottom: 0;
408+
position: initial;
409+
@include media-breakpoint-down(sm) {
410+
position: initial;
411+
}
412+
}
413+
414+
.carousel-indicators li {
415+
border-radius: 100%;
416+
background-color: #d8d8d8;
417+
height: 21px;
418+
margin: 0.5rem;
419+
width: 21px;
420+
}
421+
422+
.carousel-indicators .active {
423+
background-color: $gray-dark;
424+
}
375425
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ export class AppOurWorkSingle {
141141
return otherProjects.map(project => {
142142
return (
143143
<div class="more-project-single">
144+
<p class="d-sm-block d-md-none sm">{project.header.title}</p>
144145
<div class="images-col">
145146
<img src={project.otherProjectImgs.image1} />
146147
<img src={project.otherProjectImgs.image2} />
@@ -153,7 +154,7 @@ export class AppOurWorkSingle {
153154
<img src="/assets/graphic-google-googleplaystore.png" alt="download on play store" />
154155
</a>
155156
</div>
156-
<p>{project.header.title}</p>
157+
<p class="d-none d-md-block">{project.header.title}</p>
157158
<div class="other-button">
158159
<stencil-route-link url={`/our-work-single/${project.key}`} exact={true}>
159160
<button>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
display: flex;
1010
flex-direction: column;
1111
justify-content: center;
12+
background-position: center;
1213
min-height: 520px;
1314

1415
@include media-breakpoint-down(md) {

0 commit comments

Comments
 (0)